AWS glue documentation change
Summary
Added AWS CLI commands to tag Glue databases and tables with tutorial identifiers.
Security assessment
The change adds resource tagging for organizational purposes but contains no security controls, vulnerability fixes, or security feature documentation. Tagging improves resource management but doesn't mitigate security risks.
Diff
diff --git a/glue/latest/dg/example_glue_GettingStarted_024_section.md b/glue/latest/dg/example_glue_GettingStarted_024_section.md index 2f9998634..abd07b7bf 100644 --- a//glue/latest/dg/example_glue_GettingStarted_024_section.md +++ b//glue/latest/dg/example_glue_GettingStarted_024_section.md @@ -169,0 +170,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 + @@ -255,0 +263 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + local TABLE_ARN @@ -265,0 +274,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 +