AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2026-05-04 · Documentation low

File: code-library/latest/ug/bash_2_eks_code_examples.md

Summary

Added tagging (project=doc-smith, tutorial=eks-gs) to EKS resources including CloudFormation stacks, IAM roles, clusters, and node groups

Security assessment

Changes exclusively add organizational tags to resources. No security controls, policy updates, vulnerability mitigations, or security feature documentation were added. Tagging supports resource management but doesn't impact security posture or address security flaws.

Diff

diff --git a/code-library/latest/ug/bash_2_eks_code_examples.md b/code-library/latest/ug/bash_2_eks_code_examples.md
index 94817cdc2..87ad40e24 100644
--- a//code-library/latest/ug/bash_2_eks_code_examples.md
+++ b//code-library/latest/ug/bash_2_eks_code_examples.md
@@ -208 +208,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)
@@ -244,0 +246,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
@@ -276,0 +280,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
@@ -338 +343,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)
@@ -390 +396,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)