Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
johnculkin authored Jun 7, 2022
1 parent 7b05e99 commit 439463b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Simulate the effect of the IAM policy you are using, testing several different t
Test the `ec2:CreateInternetGateway` action:
```
aws iam simulate-principal-policy \
--policy-source-arn arn:aws:iam::$AWS_ACCOUNT_ARN:role/AWSCookbook104IamRole \
--policy-source-arn arn:aws:iam::$AWS_ACCOUNT_ID:role/AWSCookbook104IamRole \
--action-names ec2:CreateInternetGateway
```

Expand All @@ -85,7 +85,7 @@ You should see output similar to the following (note the `EvalDecision`):
Test the `ec2:DescribeInstances` action:
```
aws iam simulate-principal-policy \
--policy-source-arn arn:aws:iam::$AWS_ACCOUNT_ARN:role/AWSCookbook104IamRole \
--policy-source-arn arn:aws:iam::$AWS_ACCOUNT_ID:role/AWSCookbook104IamRole \
--action-names ec2:DescribeInstances
```

Expand Down

0 comments on commit 439463b

Please sign in to comment.