AWS code-library documentation change
Summary
Added resource tagging commands for Secrets Manager secret, IAM role, Redshift database, and workgroup creation
Security assessment
Changes only add organizational tags (project/tutorial) to resources. No security vulnerabilities or security features are addressed.
Diff
diff --git a/code-library/latest/ug/iam_example_redshift_GettingStarted_038_section.md b/code-library/latest/ug/iam_example_redshift_GettingStarted_038_section.md index 23980ac8b..e7dce89a6 100644 --- a//code-library/latest/ug/iam_example_redshift_GettingStarted_038_section.md +++ b//code-library/latest/ug/iam_example_redshift_GettingStarted_038_section.md @@ -128 +128,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - --secret-string "{\"username\":\"$username\",\"password\":\"$password\"}" 2>&1) + --secret-string "{\"username\":\"$username\",\"password\":\"$password\"}" \ + --tags Key=project,Value=doc-smith Key=tutorial,Value=redshift-serverless 2>&1) @@ -346,0 +348,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + aws iam tag-role --role-name "$ROLE_NAME" \ + --tags Key=project,Value=doc-smith Key=tutorial,Value=redshift-serverless @@ -365 +368,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - --db-name "$DB_NAME" 2>&1) + --db-name "$DB_NAME" \ + --tags Key=project,Value=doc-smith Key=tutorial,Value=redshift-serverless 2>&1) @@ -386 +390,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - --base-capacity 8 2>&1) + --base-capacity 8 \ + --tags Key=project,Value=doc-smith Key=tutorial,Value=redshift-serverless 2>&1)