Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion templates/git2s3.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,21 @@ Resources:
- codebuild:BatchGetBuilds
Resource:
- !GetAtt GitPullCodeBuild.Arn

- Effect: Allow
Action:
- 'ec2:CreateNetworkInterface'
- 'ec2:DescribeDhcpOptions'
- 'ec2:DescribeNetworkInterfaces'
- 'ec2:DeleteNetworkInterface'
- 'ec2:DescribeSubnets'
- 'ec2:DescribeSecurityGroups'
- 'ec2:DescribeVpcs'
Resource:
- '*'
- Effect: Allow
Action:
- 'ec2:CreateNetworkInterfacePermission'
Resource: !Sub 'arn:aws:ec2:${AWS::Region}:${AWS::AccountId}:network-interface/*'
GitPullCodeBuild:
Type: AWS::CodeBuild::Project
Properties:
Expand All @@ -625,6 +639,7 @@ Resources:
- SecurityGroupIds:
- !Ref 'GitPullSecurityGroup'
Subnets: !Ref 'SubnetIds'
VpcId: !Ref VPCId
- !Ref 'AWS::NoValue'
Artifacts:
Type: NO_ARTIFACTS
Expand Down