-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
v0.41.3: Unable to apply new Parameter Group with existing resources #142
Comments
/cc cc'ing in @nitrocode as he is the author of the changes done in v0.41.3. |
I have created two PR's with slightly different directions:
|
When I looked over the terraform resource in their code, I didn't see a ForceNew in the description so figured it was fine to add the descriptions. Good catch. Couldn't we simply ignore changes if the lifecycle {
ignore_changes = [
description,
]
} |
@nitrocode Oh wow, that actually sounds like a far easier solution 😄 The only downside is that the If we go that route we can probably better close #143. PR #144 can be rewritten to go this route instead (or replaced, whichever is most practical). |
I added the lifecycle ignore to 143 and the updated description is opt in if you set the description input to null. I also set the last release as a pre-release |
@syphernl thanks again for notifying us so quickly! |
Describe the Bug
The changes done in v0.41.3 (#141) causes issues with existing resources.
Since it re-uses the same name Terraform will try to remove it. But since it is in use, it will fail:
Expected Behavior
No errors when applying changes.
Potential solution
create_before_destroy
name_prefix
for a similar issue but unfortunately the aws_elasticache_parameter_group resource does not support this.If this is not possible we can work around this by making the description of the parameter group configurable, so that the
Managed by Terraform
value can be used for existing resources.The text was updated successfully, but these errors were encountered: