AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added resource tagging commands for IAM roles, EC2 instances, and FIS experiments with 'project=doc-smith' and tutorial identifiers

Security assessment

Changes only add metadata tags for resource organization. No security configurations, permissions, or vulnerability mitigations are modified. Tags don't affect resource security posture.

Diff

diff --git a/code-library/latest/ug/ec2_example_iam_GettingStarted_069_section.md b/code-library/latest/ug/ec2_example_iam_GettingStarted_069_section.md
index 98f7572e4..f14572488 100644
--- a//code-library/latest/ug/ec2_example_iam_GettingStarted_069_section.md
+++ b//code-library/latest/ug/ec2_example_iam_GettingStarted_069_section.md
@@ -157,0 +158 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+    aws iam tag-role --role-name "$FIS_ROLE_NAME" --tags Key=project,Value=doc-smith Key=tutorial,Value=aws-fault-injection-service-gs
@@ -209,0 +211 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+    aws iam tag-role --role-name "$EC2_ROLE_NAME" --tags Key=project,Value=doc-smith Key=tutorial,Value=aws-fault-injection-service-gs
@@ -255 +257 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-      --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=FIS-Test-Instance}]')
+      --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=FIS-Test-Instance},{Key=project,Value=doc-smith},{Key=tutorial,Value=aws-fault-injection-service-gs}]')
@@ -391 +393,3 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-        "Name": "FIS-CPU-Stress-Experiment"
+        "Name": "FIS-CPU-Stress-Experiment",
+        "project": "doc-smith",
+        "tutorial": "aws-fault-injection-service-gs"