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

New rule: Lifecycle ignore tags - azurerm_resource_lifecycle_ignore_tags #222

Open
leetonycooper opened this issue Nov 24, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@leetonycooper
Copy link

To complement

#194

I believe there is a need to also support a rule that checks tag lifecycle ignores

For example:
lifecycle {
ignore_changes = [
tags["created_at"]
]
}

If I am not mistaken these have to be manually managed at the moment per resource and cannot be done globally.
hashicorp/terraform-provider-azurerm#13776

Something like

rule "azurerm_resource_lifecycle_ignore_tags" {
enabled = true
exclude = [] (list of resource types to exclude, optional)
tags = ["Environment", "Department"]
}

@wata727 wata727 added the enhancement New feature or request label Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants