AWS batch medium security documentation change
Summary
Replaced placeholder values with specific account IDs and regions in IAM policy examples
Security assessment
Using real account IDs (e.g., 999999999999) in examples could lead to accidental exposure or misconfiguration if copied without modification, introducing a security risk.
Diff
diff --git a/batch/latest/userguide/iam-example-job-def.md b/batch/latest/userguide/iam-example-job-def.md index 9e417086e..a9718c964 100644 --- a//batch/latest/userguide/iam-example-job-def.md +++ b//batch/latest/userguide/iam-example-job-def.md @@ -35 +35 @@ JSON - "arn:aws:batch:<aws_region>:<aws_account_id>:job-definition/JobDefA_*" + "arn:aws:batch:us-east-2:999999999999:job-definition/JobDefA_*" @@ -43 +43 @@ JSON - "<aws_account_id>.dkr.ecr.<aws_region>.amazonaws.com/myImage" + "999999999999.dkr.ecr.us-east-2.amazonaws.com/myImage" @@ -57 +57 @@ JSON - "arn:aws:batch:<aws_region>:<aws_account_id>:job-definition/JobDefA_*" + "arn:aws:batch:us-east-2:999999999999:job-definition/JobDefA_*" @@ -66 +66 @@ JSON - "arn:aws:iam::<aws_account_id>:role/MyBatchJobRole" + "arn:aws:iam::999999999999:role/MyBatchJobRole"