AWS code-library documentation change
Summary
Added resource tagging throughout EKS setup and corrected a documentation URL
Security assessment
Changes add organizational tags to CloudFormation, IAM roles, EKS cluster, and node groups. URL correction is non-security related. No security fixes implemented
Diff
diff --git a/code-library/latest/ug/cloudformation_example_eks_GettingStarted_034_section.md b/code-library/latest/ug/cloudformation_example_eks_GettingStarted_034_section.md index 31b77673a..07224c9f0 100644 --- a//code-library/latest/ug/cloudformation_example_eks_GettingStarted_034_section.md +++ b//code-library/latest/ug/cloudformation_example_eks_GettingStarted_034_section.md @@ -194 +194,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) @@ -230,0 +232,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 @@ -262,0 +266,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 @@ -324 +329,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) @@ -376 +382,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) @@ -505 +512 @@ 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)