Skip to content

Instantly share code, notes, and snippets.

@PaulDuvall
Created July 31, 2020 14:04
Show Gist options
  • Save PaulDuvall/6c6dc8c343d47d20d2be8281a62b18ba to your computer and use it in GitHub Desktop.
Save PaulDuvall/6c6dc8c343d47d20d2be8281a62b18ba to your computer and use it in GitHub Desktop.
Resources:
CFNAdminRole:
Type: "AWS::IAM::Role"
Properties:
RoleName: !Ref MyRoleName
AssumeRolePolicyDocument:
Version: "2012-10-17"
Statement:
- Effect: "Allow"
Principal:
Service: ["cloudformation.amazonaws.com"]
Action: "sts:AssumeRole"
Path: "/"
ManagedPolicyArns:
- 'arn:aws:iam::aws:policy/AdministratorAccess'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment