Skip to content

New rule: Lifecycle ignore tags - azurerm_resource_lifecycle_ignore_tags #222

@leetonycooper

Description

@leetonycooper

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"]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions