-
Notifications
You must be signed in to change notification settings - Fork 37
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
feat: Support lifecycle ignoreChanges with module #94
Comments
Hi - we cannot support this due to limitations in Terraform - will keep open to track |
are you able to provide an explanation of why this isn't supported? ignore changes should be able to be able to be added to the resource in the module. |
Entries in ignore_changes must be static and cannot be passed in as variables. Also they cannot be passed in through a call to a module. Hence we are not able to provide a configurable list |
However we have solved private dns zone group as we have a variable to control whether we manage this or not |
Another use case for ignore_changes: I'm currently trying to create a secret, where the value is updated outside of terraform. Because I can't ignore changes to the secrets value, terraform tries to reset it to it's initial value that is specified in my terraform configuration. |
Check for previous/existing GitHub issues
Issue Type?
Feature Request
(Optional) Module Version
0.5.3
(Optional) Correlation Id
No response
Description
As Terraform doesn't support lifecycle meta-argument with modules (see hashicorp/terraform#27360) it would be nice that module would allow ignoring some things that are (at least in our environment) handled with policies. Of course the ignore can be more generic if possible, but at least for use
tags
andprivate_dns_zone_group
.The text was updated successfully, but these errors were encountered: