Last active
October 28, 2022 07:38
-
-
Save jonesy1234/2758797798382709eebe108086d9eee1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Type: AWS::IAM::ManagedPolicy | |
Properties: | |
Description: 'IAM Roles for Terraform State Resources' | |
PolicyDocument: | |
Version: '2012-10-17' | |
Statement: | |
- Effect: Allow | |
Action: | |
- dynamodb:GetItem | |
- dynamodb:PutItem | |
- dynamodb:DeleteItem | |
- dynamodb:Describe* | |
- dynamodb:ListTagsOfResource | |
Resource: | |
- !Sub 'arn:${AWS::Partition}:dynamodb:${AWS::Region}:${AWS::AccountId}:table/TerraformDynamoDBTable' | |
- Effect: Allow | |
Action: | |
- s3:GetObject | |
- s3:PutObject | |
Resource: | |
- !Sub 'arn:${AWS::Partition}:s3:::TerraformBucket/*' | |
- Effect: Allow | |
Action: | |
- s3:List* | |
- s3:Get* | |
- s3:Describe* | |
Resource: | |
- !Sub 'arn:${AWS::Partition}:s3:::TerraformBucket' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment