You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All the resources we're operating on have been imported as we am working on placing over 50 repos into an IaC setup simply because of the volume of manual changes and no-one knows who did what or necessarily where it is.
So, from that, there MAY be a 100 things we're not doing right simply due to the volume, but this is a slow and careful import and each step at the moment is to just confirm the resources are matching the live form and synchronizing things across the repos as we need to get that done.
The issue we're having is turning off the branch types (what I see as GitFlow branch name prefixes). None of the repos are used with GitFlow in mind and there's a mix of them being enabled / disabled amongst the repos. By disabling them at the project level (to start with) and see how far we get.
By having the following block in the module.project.bitbucket_project_branching_model.branching_model :
All the resources we're operating on have been imported as we am working on placing over 50 repos into an IaC setup simply because of the volume of manual changes and no-one knows who did what or necessarily where it is.
So, from that, there MAY be a 100 things we're not doing right simply due to the volume, but this is a slow and careful import and each step at the moment is to just confirm the resources are matching the live form and synchronizing things across the repos as we need to get that done.
The issue we're having is turning off the branch types (what I see as GitFlow branch name prefixes). None of the repos are used with GitFlow in mind and there's a mix of them being enabled / disabled amongst the repos. By disabling them at the project level (to start with) and see how far we get.
By having the following block in the
module.project.bitbucket_project_branching_model.branching_model
:we get (as expected)
When we apply :
All looks good so far!
Re-run the plan and the same outstanding change is required. Repeat this as often as you want and the same thing happens.
Tried replacing
false
withnull
, and with theenabled
line removed, and the plan output is slightly different :But the apply and replan shows that the change is still outstanding.
I also tried the fully expanded form, just in case that was the reason ... nope.
Plan always seems to want to change the bitbucket_project_branching_model.
Slightly behind on Terraform, and so null, false, handling ... maybe something there, but this is normally a provider issue.
Affected Resource(s)
Debug Output
Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
Expected Behavior
Only update the resource if there is a difference to the branching model
Actual Behavior
Every plan says the branch_types need "adding" with the
enabled
being set tofalse
orknown after apply
.The text was updated successfully, but these errors were encountered: