Skip to content

Commit

Permalink
Merge pull request #13 from 0x4447/development
Browse files Browse the repository at this point in the history
No more bucket force
  • Loading branch information
davidgatti authored Apr 28, 2019
2 parents 40e29b0 + 252502e commit 3de6a44
Show file tree
Hide file tree
Showing 8 changed files with 328 additions and 343 deletions.
2 changes: 1 addition & 1 deletion 07_Resources/Repos/converter/CodeBuild/Policies/s3.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": { "Fn::Sub": "arn:aws:s3:::${S3Code}/*"}
"Resource": { "Fn::Sub": "arn:aws:s3:::${CodePipelineBucketName}/*"}
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion 07_Resources/Repos/converter/CodePipeline/pipe_line.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Properties": {
"Name": "0x4447_s3_email_lambda_converter",
"ArtifactStore": {
"Location": { "Ref": "S3Code" },
"Location": { "Ref": "CodePipelineBucketName" },
"Type": "S3"
},
"RoleArn": { "Fn::GetAtt": ["PipelineConverterRole", "Arn"] },
Expand Down
2 changes: 1 addition & 1 deletion 07_Resources/Repos/inbound/CodeBuild/Policies/s3.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": { "Fn::Sub": "arn:aws:s3:::${S3Code}/*"}
"Resource": { "Fn::Sub": "arn:aws:s3:::${CodePipelineBucketName}/*"}
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion 07_Resources/Repos/inbound/CodePipeline/pipe_line.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Properties": {
"Name": "0x4447_s3_email_lambda_inbound",
"ArtifactStore": {
"Location": { "Ref": "S3Code" },
"Location": { "Ref": "CodePipelineBucketName" },
"Type": "S3"
},
"RoleArn": { "Fn::GetAtt": ["PipelineInboundRole", "Arn"] },
Expand Down
2 changes: 1 addition & 1 deletion 07_Resources/Repos/outbound/CodeBuild/Policies/s3.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": { "Fn::Sub": "arn:aws:s3:::${S3Code}/*"}
"Resource": { "Fn::Sub": "arn:aws:s3:::${CodePipelineBucketName}/*"}
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion 07_Resources/Repos/outbound/CodePipeline/pipe_line.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Properties": {
"Name": "0x4447_s3_email_lambda_outbound",
"ArtifactStore": {
"Location": { "Ref": "S3Code" },
"Location": { "Ref": "CodePipelineBucketName" },
"Type": "S3"
},
"RoleArn": { "Fn::GetAtt": ["PipelineOutboundRole", "Arn"] },
Expand Down
8 changes: 0 additions & 8 deletions 07_Resources/S3/Artifact/bucket.json

This file was deleted.

Loading

0 comments on commit 3de6a44

Please sign in to comment.