-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Proof of Concept] provider: Ignore tags implementation #10418
Conversation
Reference: #7926 Creates a new `ignore_tags` provider configuration, that wires into the `AWSClient` struct provided to all provider resources. This can be used to ignore certain tag keys across all resources of the provider, once the resource implements support. Output from acceptance testing: ``` --- PASS: TestAccAWSProvider_IgnoreTags_One (3.70s) --- PASS: TestAccAWSProvider_IgnoreTags_Multiple (3.71s) --- PASS: TestAccAWSProvider_IgnoreTags_None (3.71s) ```
Reference: #7926 Output from acceptance testing: ``` --- PASS: TestAccAWSVpc_ignoreTags (31.81s) --- PASS: TestAccAWSVpc_tags (43.32s) ```
…on for ignore_tags argument Reference: #7926
Reference: #7926 Output from acceptance testing: ``` --- PASS: TestAccAWSProvider_IgnoreTagPrefixes_Multiple (3.96s) --- PASS: TestAccAWSProvider_IgnoreTagPrefixes_None (4.03s) --- PASS: TestAccAWSProvider_IgnoreTagPrefixes_One (4.09s) ```
Reference: #7926 Output from acceptance testing: ``` --- PASS: TestAccAWSVpc_tags (41.30s) --- PASS: TestAccAWSVpc_ignoreTags (43.12s) ```
…eckVpcUpdateTags for clarity Output from acceptance testing: ``` --- PASS: TestAccAWSVpc_tags (42.94s) --- PASS: TestAccAWSVpc_ignoreTags (43.14s) ```
…efixes support Reference: #7926 Output from acceptance testing: ``` --- PASS: TestAccAWSSubnet_basic (26.18s) --- PASS: TestAccAWSSubnet_ignoreTags (50.24s) ```
f4dea0b
to
c56a1e9
Compare
Rebased against master, added
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 from what I can tell!
--- PASS: TestAccAWSProvider_IgnoreTagPrefixes_One (5.36s)
--- PASS: TestAccAWSProvider_IgnoreTagPrefixes_Multiple (5.56s)
--- PASS: TestAccAWSProvider_IgnoreTags_None (5.55s)
--- PASS: TestAccAWSProvider_IgnoreTags_Multiple (5.61s)
--- PASS: TestAccAWSProvider_IgnoreTagPrefixes_None (5.60s)
--- PASS: TestAccAWSProvider_IgnoreTags_One (5.59s)
--- PASS: TestAccAWSVpc_tags (16.11s)
--- PASS: TestAccAWSVpc_ignoreTags (16.32s)
--- PASS: TestAccAWSSubnet_basic (9.88s)
--- PASS: TestAccAWSSubnet_ignoreTags (17.18s)
This has been released in version 2.35.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Reference: #7926
Release note for CHANGELOG:
Creates new
ignore_tag_prefixes
andignore_tags
provider arguments, that wire into theAWSClient
struct provided to all provider resources. This can be used to ignore certain tag keys and tag key prefixes across all resources of the provider, once the resource implements support. Includesaws_subnet
andaws_vpc
resources.Output from acceptance testing: