diff --git a/example/aws/README.md b/example/aws/README.md index 3543790..af2a8d1 100644 --- a/example/aws/README.md +++ b/example/aws/README.md @@ -25,8 +25,8 @@ the policy based on your needs. Apply the policy using the AWS command-line command: ```bash aws iam create-policy \ - --policy-name IAMRoleLister \ - --policy-document \ +--policy-name IAMRoleLister \ +--policy-document \ '{ "Version": "2012-10-17", "Statement": [ @@ -65,8 +65,8 @@ Define the trust policy to allow the Hub account (000000000000) to AssumeRole on ```bash aws iam create-role \ - --role-name eks-test-assume-role \ - --assume-role-policy-document \ +--role-name eks-test-assume-role \ +--assume-role-policy-document \ '{ "Version": "2012-10-17", "Statement": [ @@ -112,8 +112,8 @@ Attach the IAMRoleLister policy on the role ```bash aws iam attach-role-policy \ - --policy-arn arn:aws:iam::000000000001:policy/IAMRoleLister \ - --role-name eks-test-assume-role +--policy-arn arn:aws:iam::000000000001:policy/IAMRoleLister \ +--role-name eks-test-assume-role ``` ## Usage