*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
...
| Code Block | ||
|---|---|---|
| ||
resource "aws_subnet" "example" {
cidr_block = "10.92.117.128/25"
vpc_id = aws_vpc.example.id
...
tags = {
Name = "example-subnet"
}
lifecycle {
ignore_changes = [
"tags.%",
"tags.cit:dc-arch-migration-description",
"tags.cit:dc-arch-migration-target",
"tags.cit:dc-arch-version",
"tags.cit:dc-vgw",
"tags.cit:subnet-type",
"tags.cit:tgw-attachment-target",
]
}
} |
Last Ditch Configuration
| Warning | ||||
|---|---|---|---|---|
If your Terraform version doesn't allow you to name specific tags, you can tell it to ignore all tag changes:
Or
|
...