AWS IAM documentation change
Summary
Added resource tagging commands and fixed documentation link in EKS tutorial
Security assessment
Changes add resource tagging (CloudFormation stack, IAM roles, EKS cluster) and fix a documentation URL. No security vulnerabilities are addressed.
Diff
diff --git a/IAM/latest/UserGuide/iam_example_eks_GettingStarted_034_section.md b/IAM/latest/UserGuide/iam_example_eks_GettingStarted_034_section.md index bd4aa2a1b..34be6d286 100644 --- a//IAM/latest/UserGuide/iam_example_eks_GettingStarted_034_section.md +++ b//IAM/latest/UserGuide/iam_example_eks_GettingStarted_034_section.md @@ -192 +192,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - --template-url https://s3.us-west-2.amazonaws.com/amazon-eks/cloudformation/2020-10-29/amazon-eks-vpc-private-subnets.yaml) + --template-url https://s3.us-west-2.amazonaws.com/amazon-eks/cloudformation/2020-10-29/amazon-eks-vpc-private-subnets.yaml \ + --tags Key=project,Value=doc-smith Key=tutorial,Value=eks-gs) @@ -228,0 +230,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + aws iam tag-role --role-name "$CLUSTER_ROLE_NAME" \ + --tags Key=project,Value=doc-smith Key=tutorial,Value=eks-gs @@ -260,0 +264,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru + aws iam tag-role --role-name "$NODE_ROLE_NAME" \ + --tags Key=project,Value=doc-smith Key=tutorial,Value=eks-gs @@ -322 +327,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - --resources-vpc-config subnetIds="$SUBNET_IDS",securityGroupIds="$SECURITY_GROUP_ID") + --resources-vpc-config subnetIds="$SUBNET_IDS",securityGroupIds="$SECURITY_GROUP_ID" \ + --tags Key=project,Value=doc-smith,Key=tutorial,Value=eks-gs) @@ -374 +380,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - --subnets "${SUBNET_IDS_ARRAY[@]}") + --subnets "${SUBNET_IDS_ARRAY[@]}" \ + --tags Key=project,Value=doc-smith,Key=tutorial,Value=eks-gs) @@ -503 +510 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - * [Wait](https://docs.aws.amazon.com/goto/aws-cli/eks-2017-11-01/Wait) + * [Wait](https://docs.aws.amazon.com/goto/aws-cli/cloudformation-2010-05-15/Wait)