AWS code-library documentation change
Summary
Added resource tagging for Glue databases and tables with project/tutorial tags
Security assessment
Changes only implement resource tagging ('project=doc-smith', 'tutorial=glue-gs') for organizational purposes. No security policies, access controls, or vulnerability mitigations are introduced or documented.
Diff
diff --git a/code-library/latest/ug/bash_2_glue_code_examples.md b/code-library/latest/ug/bash_2_glue_code_examples.md index 54562d84d..638a1667c 100644 --- a//code-library/latest/ug/bash_2_glue_code_examples.md +++ b//code-library/latest/ug/bash_2_glue_code_examples.md @@ -185,0 +186,7 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + ACCOUNT_ID=$(aws sts get-caller-identity --query 'Account' --output text) + aws glue tag-resource \ + --resource-arn "arn:aws:glue:${AWS_REGION}:${ACCOUNT_ID}:database/${DB_NAME}" \ + --tags-to-add Key=project,Value=doc-smith Key=tutorial,Value=glue-gs \ + --region "$AWS_REGION" \ + 2>/dev/null || true + @@ -271,0 +279 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + local TABLE_ARN @@ -281,0 +290,6 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + aws glue tag-resource \ + --resource-arn "arn:aws:glue:${AWS_REGION}:${ACCOUNT_ID}:table/${DB_NAME}/${TABLE_NAME}" \ + --tags-to-add Key=project,Value=doc-smith Key=tutorial,Value=glue-gs \ + --region "$AWS_REGION" \ + 2>/dev/null || true +