Skip to content

Instantly share code, notes, and snippets.

@joestump
Created October 5, 2018 19:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joestump/219f6169d6db7b185cd08d113b31055d to your computer and use it in GitHub Desktop.
Save joestump/219f6169d6db7b185cd08d113b31055d to your computer and use it in GitHub Desktop.
AWSTemplateFormatVersion: 2010-09-09
Description: Installs IAM role and policy to allow Support Center access to PCS's CSKAccountProvisioner production role.
Resources:
TerraformAdministratorRole:
Type: "AWS::IAM::Role"
Properties:
RoleName: PCSSupportAccessRole
MaxSessionDuration: 3600
AssumeRolePolicyDocument:
Version: "2012-10-17"
Statement:
-
Effect: "Allow"
Principal:
AWS:
- arn:aws:iam::288355854428:role/CSKAccountProvisioner
Action:
- "sts:AssumeRole"
Path: "/"
Policies:
- PolicyName: PCSSupportCenterAccess
PolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Resource: "*"
Action: "support:*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment