Bucket Tagging
This commit is contained in:
@@ -76,6 +76,14 @@ aws s3api put-bucket-policy \
|
||||
]
|
||||
}'
|
||||
|
||||
# ------------------------
|
||||
# Cost Allocation Tags setzen
|
||||
# ------------------------
|
||||
echo "Setze Cost Allocation Tag (BucketName)..."
|
||||
aws s3api put-bucket-tagging \
|
||||
--bucket ${S3_BUCKET_NAME} \
|
||||
--tagging "TagSet=[{Key=BucketName,Value=${S3_BUCKET_NAME}}]"
|
||||
|
||||
echo "S3 Bucket $S3_BUCKET_NAME wurde erfolgreich erstellt und konfiguriert."
|
||||
echo "Bucket-ARN: arn:aws:s3:::$S3_BUCKET_NAME"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user