Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(combined_objects): replace try() with lookup() #2031

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

sschne
Copy link
Contributor

@sschne sschne commented Jul 5, 2024

Issue-id

PR Checklist


Description

try() tends to introduce inconsistencies when building the resource graph, leading to replacements of resources due to changes in reference maps ( e.g. #965 ).

This is covering a edge case, when referencing remote_objects from within the same terraform run.

In our particular scenario, we are giving in managed identities into remote_objects for use in AKS, which are previously created due to an known issue #928. When now adding another managed_identity into the remote_objects, we are experiencing a similar force replacement issue as mentioned.

Does this introduce a breaking change

  • YES
  • NO

Testing

try() tends to introduce inconsistencies when building the resource
graph, leading to replacements of resources due to changes in reference
maps ( e.g. aztfmod#965
). This is covering a edge case, when referencing remote_objects from
within the same terraform run
@arnaudlh arnaudlh added the bug Something isn't working label Jul 23, 2024
@arnaudlh arnaudlh linked an issue Jul 23, 2024 that may be closed by this pull request
1 task
Copy link
Member

@arnaudlh arnaudlh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arnaudlh arnaudlh added this to the 5.7.13 milestone Jul 23, 2024
@arnaudlh arnaudlh merged commit fb32f2a into aztfmod:main Jul 23, 2024
138 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Feature request-add-diagnostic-setting-data-explorer-kusto-cluster
2 participants