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

Fix tags not being applied on AWS EBS Snapshots #1007

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ruimarinho
Copy link

This PR resolves an issue where tags specified via command-line arguments were not being correctly applied to snapshots.

Consider the following example:

/usr/bin/barman-cloud-backup --cloud-provider aws-s3 \
--aws-region us-east-1 \
--tags environment,production project,my-project service,barman \
--snapshot-disk $VOLUME_ID \
--snapshot-instance $INSTANCE_ID \
s3://test/barman postgres

Previously, the tags environment, project and service were not included in the snapshot tags; only a single tag (Name) was set by default. This omission made it difficult to filter snapshots based on tags, which is crucial for maintaining security and managing resources effectively.

@ruimarinho ruimarinho requested a review from a team as a code owner August 23, 2024 09:30
Copy link

@diogotorres97 diogotorres97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested alongside #1005 and is working as expected!

@diogotorres97
Copy link

ping

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.

2 participants