-
Notifications
You must be signed in to change notification settings - Fork 134
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
Provide more flexible ways to set tags #1173
Comments
If possible it should be also possible to define ignored tags (especially patterns), exactly like it's done in in terraform aws provider |
@kirek007 could you please explain a bit more about your use case for ignoring tags? It seems like the primary motivation on the terraform side is when certain tags are managed by external systems. But I think (although I haven't verified) that in that case crossplane provider AWS will just late initialize the externally managed tags into its Some more details would be great. |
@mbbush Thanks for replay, I've tried it and provider was trying to remove 3rd party tags. |
This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as |
This issue is being closed since there has been no activity for 14 days since marking it as |
What problem are you facing?
I would like to be able to apply certain tags to large groups of my managed resources, without having to add patches everywhere, similar to terraform's concept of default tags.
How could Official AWS Provider help solve your problem?
Adding a new field to the
ProviderConfig
schema could provide a way to allow users to specify this. It could also provide a way for users to opt out of the default tags, as requested in #1141.Proposed schema
I'm sure this could be improved, but here's a rough idea
This would disable the three built-in tags, and add three additional user-defined tags to every resource which uses this providerconfig. It could provide a mechanism for introducing additional built in tags in an opt-in manner, and allow practitioners to apply different tagging configs to different groups of resources by managing different provider configs.
Additionally, while about 2/3 of the provider-aws resources have a
spec.forProvider.tags
, all of them have aspec.providerConfigRef.name
, so I can write a template/composition/function/whatever to always set the provider config, without needing to know which resources support tags and which don't.Related functionality
Some things this might impact or relate to, that would need some work to determine how/whether to handle:
tags
fields have special code for handling them in upjet, even though they only apply to provider-awsThe text was updated successfully, but these errors were encountered: