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
Every time I apply it tries to rebuild. I can rearrange my local.sources list and avoid the error but then if I use the same list to build another source they will be in a new, unbreakable order! I've tried removing sources manually then adding back one by one and all fails. I've tried to uncover the mysterious driver behind the sort order and have been unsuccessful (checking repo_id, display_name, id, time_created, etc. but can't find an obvious sort field). Help!
Note that if I create the same source in another region using the same vendor sources (i.e. same display_name, same repo_id though id is different for different region) then it wants them in a different order still! I can't win. Did I mention "HELP!"
Panic Output
Expected Behavior
I expect the vendor_software_sources provided when updating a custom software source to not trigger an update if nothing changes except the order of the sources.
Actual Behavior
When a custom software source is updated, an update is triggered even if nothing changes about the input variables because the order of vendor_software_sources is unpredictable.
Steps to Reproduce
terraform apply and not successful source is created.
Change nothing then terraform apply and note the prompt to update based on the arbitrary re-ordering of the supplied vendor_software_sources
Important Factoids
References
The text was updated successfully, but these errors were encountered:
Community Note
Terraform Version and Provider Version
Terraform v1.7.4
on darwin_arm64
Affected Resource(s)
affected_resources = oci_os_management_hub_software_source
affected_resources = terraform
Terraform Configuration Files
Debug Output
First build is fine. Subsequent apply says this:
Every time I apply it tries to rebuild. I can rearrange my
local.sources
list and avoid the error but then if I use the same list to build another source they will be in a new, unbreakable order! I've tried removing sources manually then adding back one by one and all fails. I've tried to uncover the mysterious driver behind the sort order and have been unsuccessful (checking repo_id, display_name, id, time_created, etc. but can't find an obvious sort field). Help!Note that if I create the same source in another region using the same vendor sources (i.e. same display_name, same repo_id though id is different for different region) then it wants them in a different order still! I can't win. Did I mention "HELP!"
Panic Output
Expected Behavior
I expect the
vendor_software_sources
provided when updating a custom software source to not trigger an update if nothing changes except the order of the sources.Actual Behavior
When a custom software source is updated, an update is triggered even if nothing changes about the input variables because the order of
vendor_software_sources
is unpredictable.Steps to Reproduce
terraform apply
and not successful source is created.terraform apply
and note the prompt to update based on the arbitrary re-ordering of the suppliedvendor_software_sources
Important Factoids
References
The text was updated successfully, but these errors were encountered: