Skip to content
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

terraform, aws: support specifying bucket specific tags #4526

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Jul 30, 2024

This is the proposed terraform functionality to resolve #4502 - an addition of a tags key under a user_buckets variable.

The intent is to allow 2i2c:hub-name tags (with values like staging, prod) to be specified. I saw no option to easily and robustly add the tag automatically by using other config or variables. The hub_cloud_permissions variable included details about hub name, but I don't think we could be certain all buckets would be tied to a hub name through that, so it seemed problematic to try to use that information. With that in mind, I settled for explicitly configuring any tags.


Note that tags can be updated without re-creating the bucket etc.

This was verified to work via AWS UI:

image

The intent is to allow 2i2c:hub-name to be specified. I saw no option
to easily and robustly add the 2i2c:hub-name tag automatically by using
other config or variables. The `hub_cloud_permissions` variable included
details about hub name, but I don't think we could be certain all
buckets would be tied to a hub name through that, so it seemed
problematic to try to use that information. With that in mind, I settled
for explicitly configuring any tags.
@consideRatio consideRatio merged commit 2375ea5 into 2i2c-org:main Jul 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add AWS tags to scratch and persistent buckets on openscapes cluster
1 participant