Skip to content

Pipeline failed after upgrade to 1.21 with "Your access has been denied by S3" error #3950

@niros1

Description

@niros1

Hi,
After upgrading to v1.21 my pipeline broke, and the CFN failed with error "Your access has been denied by S3 please make sure your request credentials have permission to GetObject for ...manual/scripts/custom-resources/envcontrollerfunction/3ffcf03598029891....zip
My platform includes several accounts root, dev, and prod. the pipeline run in root and deploy to the relevant environment, the error occurs on CFN running on dev env.

Steps taken:

  1. upgrading to V1.21 from V1.19
  2. Redeploy my pipeline and push my code
  3. I tried to grant permissions to the bucket policy and to CFN role but with no luck.
  4. I tried to create a new pipeline by copilot pipeline init - same error
  5. Found this ticket Cloudformation addon templates fail with S3 error: Access Denied after updating to 1.16.0 #3453 but seems like it relevant to an older version.

10X In advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    guidanceIssue requesting guidance or information about usagetype/bugIssues that are bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions