AWS IAM documentation change
Summary
Added tagging command for IAM role in example script
Security assessment
The change adds resource tagging for organizational purposes only. No security vulnerabilities or features are addressed.
Diff
diff --git a/IAM/latest/UserGuide/iam_example_redshift_GettingStarted_039_section.md b/IAM/latest/UserGuide/iam_example_redshift_GettingStarted_039_section.md index 387f0960c..523ca2acb 100644 --- a//IAM/latest/UserGuide/iam_example_redshift_GettingStarted_039_section.md +++ b//IAM/latest/UserGuide/iam_example_redshift_GettingStarted_039_section.md @@ -199,0 +200 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + --tags Key=project,Value=doc-smith Key=tutorial,Value=redshift-provisioned \ @@ -248,0 +250,4 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + # Tag the IAM role + echo "Tagging IAM role: $ROLE_NAME" + aws iam tag-role --role-name "$ROLE_NAME" --tags Key=project,Value=doc-smith Key=tutorial,Value=redshift-provisioned +