-
Notifications
You must be signed in to change notification settings - Fork 477
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
Replace data source lookup for "azurerm_resource_group" with variables to avoid resources recreation issue when re-applying the module #102
Conversation
+1. We experience resource recreation as well when using data source lookups |
Any updates for this? |
MAIN BRANCH PUSH DETECTED DUE TO #241, THIS PR WILL BE UPDATED. |
MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR WILL BE UPDATED. |
1 similar comment
MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR WILL BE UPDATED. |
MAIN BRANCH PUSH DETECTED DUE TO #, THIS PR NEED TO BE UPDATED TO TRIGGER CI. |
I'm closing this pr since we've implemented this feature in #172. Thanks folks. |
FIxes #105
Changes proposed in the pull request:
When testing in terraform v13,14,15 - The current module results in recreation of cluster in consecutive apply due to the unwanted diff generated by data source lookup of
location
from theresource group
. The fix in the PR proposes using variable for location in-place of a data source lookup to resolve this issue.The data source lookup responsible:
Terraform plan using the module results in certain resources to
force replacement
, PFB