Skip to content

[Bug]: Permission issue when using Github as source #616

@Wildpipe

Description

@Wildpipe

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

After upgrade to ADF 3.2.0 our existing aws-deployment-framework-base pipeline in the deployment account failed with authorization failed for primary source and source version RANDSTR after switching the source to Github.

The reason for this is that the role used for the CodeBuild pipelines were changed in this commit. The change removed the codestar-connections permissions needed to use Github as a source.

After adding the permissions back to the PipelineGenerationProvisionerCodeBuildRolePolicy we were able to successfully deploy using the codestar connection to our Github organization.

Expected Behavior

To be able to use Github as a source for the pipeline aws-deployment-framework-base successfully.

Current Behavior

Using Github as a source for aws-deployment-framework-base currently causes a authorization failure.

Steps To Reproduce

No response

Possible Solution

Add codestar permissions back to the PipelineGenerationProvisionerCodeBuildRolePolicy.

Additional Information/Context

No response

ADF Version

3.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions