Giter Club home page Giter Club logo

Comments (1)

edududalan avatar edududalan commented on August 13, 2024

we saw in the S3 buckeet that no policy was defined.
we copy/paste that policy on the S3 Bucket and retry the failed stage.

the pipeline runs ok.

Policy needed:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "cloudformation.amazonaws.com"
},
"Action": [
"s3:GetObject*",
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject",
"s3:PutObjectLegalHold",
"s3:PutObjectRetention",
"s3:PutObjectTagging",
"s3:PutObjectVersionTagging",
"s3:Abort*"
],
"Resource": [
"arn:aws:s3:::cdk-accel-assets-xxxxx-us-east-1",
"arn:aws:s3:::cdk-accel-assets-xxxxx-us-east-1/"
]
},
{
"Effect": "Allow",
"Principal": {
"Service": "lambda.amazonaws.com"
},
"Action": [
"s3:GetObject
",
"s3:GetBucket*",
"s3:List*",
"s3:DeleteObject*",
"s3:PutObject",
"s3:PutObjectLegalHold",
"s3:PutObjectRetention",
"s3:PutObjectTagging",
"s3:PutObjectVersionTagging",
"s3:Abort*"
],
"Resource": [
"arn:aws:s3:::cdk-accel-assets-xxxx-us-east-1",
"arn:aws:s3:::cdk-accel-assets-xxxx-us-east-1/"
]
},
{
"Sid": "cdk-read-write-access",
"Effect": "Allow",
"Principal": {
"AWS": "
"
},
"Action": "s3:",
"Resource": [
"arn:aws:s3:::cdk-accel-assets-xxxxx-us-east-1/
",
"arn:aws:s3:::cdk-accel-assets-xxxxx-us-east-1"
],
"Condition": {
"StringEquals": {
"aws:PrincipalOrgID": "YOUR-ORGANIZATION-ID"
},
"ArnLike": {
"aws:PrincipalARN": [
"arn:aws:iam:::role/cdk-accel",
"arn:aws:iam:::role/AWSControlTowerExecution"
]
}
}
},
{
"Sid": "deny-insecure-connections",
"Effect": "Deny",
"Principal": {
"AWS": "
"
},
"Action": "s3:",
"Resource": "arn:aws:s3:::cdk-accel-assets-xxxxx-us-east-1/
",
"Condition": {
"Bool": {
"aws:SecureTransport": "false"
}
}
}
]
}

from landing-zone-accelerator-on-aws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.