Overtabed example corrected. (#8633)

Corrected code snippet to be copy paste ready (& properly terminating).
This commit is contained in:
aphorise 2020-03-30 18:48:52 +02:00 committed by GitHub
parent d0585c175b
commit f881b5efde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 12 deletions

View File

@ -105,18 +105,17 @@ management tool.
policy_arns=arn:aws:iam::aws:policy/AmazonEC2ReadOnlyAccess,arn:aws:iam::aws:policy/IAMReadOnlyAccess \ policy_arns=arn:aws:iam::aws:policy/AmazonEC2ReadOnlyAccess,arn:aws:iam::aws:policy/IAMReadOnlyAccess \
credential_type=iam_user \ credential_type=iam_user \
policy_document=-<<EOF policy_document=-<<EOF
{ {
"Version": "2012-10-17", "Version": "2012-10-17",
"Statement": [ "Statement": [
{ {
"Effect": "Allow", "Effect": "Allow",
"Action": "ec2:*", "Action": "ec2:*",
"Resource": "*" "Resource": "*"
} }
] ]
} }
EOF EOF
``` ```
For more information on IAM policies, please see the For more information on IAM policies, please see the