AWS code-library documentation change
Summary
Added resource tagging for Glue databases and tables
Security assessment
Changes add project/tutorial tags to Glue resources for management purposes. No security-related modifications or documentation.
Diff
diff --git a/code-library/latest/ug/glue_example_glue_GettingStarted_024_section.md b/code-library/latest/ug/glue_example_glue_GettingStarted_024_section.md index b84f06a95..6868d273f 100644 --- a//code-library/latest/ug/glue_example_glue_GettingStarted_024_section.md +++ b//code-library/latest/ug/glue_example_glue_GettingStarted_024_section.md @@ -171,0 +172,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 + @@ -257,0 +265 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + local TABLE_ARN @@ -267,0 +276,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 +