Last active
May 6, 2023 12:07
-
-
Save Enigo/557c3a400da46ea5c41919ec98f23ca2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
--- | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: 'Jenkins Role' | |
Resources: | |
JenkinsRole: | |
Type: AWS::IAM::Role | |
Properties: | |
Description: "Used for serverspec tests" | |
RoleName: instance-serverspec | |
Policies: | |
- PolicyName: allow-serverspec | |
PolicyDocument: | |
Version: "2012-10-17" | |
Statement: | |
- Effect: "Allow" | |
Action: | |
- s3:ListBucket | |
Resource: | |
- "arn:aws:s3:::serverspec" | |
- Effect: "Allow" | |
Action: | |
- s3:GetObject | |
Resource: | |
- "arn:aws:s3:::serverspec/*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment