Closed gohmc closed 1 year ago
This will not make it into the module because we want users to be able to manage tags across resources created by this module.
Closes #986
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Currently, additional tags added to VPC and subnet resources outside the module will be remove when re-apply, even there's no change to the network topology. To prevent tags from removal unexpectedly, this PR added lifecycle
ignore_changes
totags
for resourceaws_vpc
andaws_subnet
.Steps to reproduce the behavior:
Motivation and Context
Additional tags can be added post applied.
Breaking Changes
No.
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projects