Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(codebuild): missing permissions for SecretsManager environment variables #12121

Merged
merged 6 commits into from Dec 22, 2020

Commits on Dec 17, 2020

  1. fix(codebuild): missing permissions for SecretsManager environment va…

    …riables
    
    When creating a CodeBuild Project that uses environment variables from SecretsManager,
    the Project fails execution with:
    
    ```
    AccessDeniedException: User: arn:aws:sts::828671620168:assumed-role/role
    is not authorized to perform: secretsmanager:GetSecretValue on resource:
    arn:aws:secretsmanager:us-west-2:123456789012:secret:my-secret-GXyUCE
    ```
    
    The solution is to automatically grant the Project's Role permissions to read all
    Secrets whose names were provided as environment variables.
    skinny85 committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    e7c5ad3 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. Configuration menu
    Copy the full SHA
    2ea74b2 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2020

  1. Dummy to trigger build

    iliapolo committed Dec 21, 2020
    Configuration menu
    Copy the full SHA
    299a88a View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2020

  1. Make linter happy

    iliapolo committed Dec 22, 2020
    Configuration menu
    Copy the full SHA
    c22a422 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d6fcde View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c1a614b View commit details
    Browse the repository at this point in the history