APPS-261 Put tags on the S3 test buckets

This commit is contained in:
Cezar.Leahu
2020-08-18 16:12:54 +03:00
parent 2540969052
commit ea775b9c88
4 changed files with 10 additions and 11 deletions

View File

@@ -21,6 +21,9 @@ aws s3api put-object-lock-configuration \
--bucket "${S3_BUCKET2_NAME}" \
--object-lock-configuration '{ "ObjectLockEnabled": "Enabled", "Rule": { "DefaultRetention": { "Mode": "COMPLIANCE", "Days": 1 }}}'
aws s3api put-bucket-tagging --bucket "${S3_BUCKET2_NAME}" \
--tagging="TagSet=[{Key=toDeleteAfterTests,Value=true}]"
popd
set +vex
echo "=========================== Finishing Create Worm Bucket Script =========================="