aws / aws/aws-sam-cli

Feature request: Better integration with CodeArtifact

Open
#5,053 5 comments 1 reaction 0 assignees View on GitHub
area/build stage/pm-review type/feature
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

### Describe your idea/feature/enhancement

Better integration with CodeArtifact.

### Proposals

##### First Proposal
1. Cache CodeArtifact token in secretmanager, with it's expiration.
2. Every time `sam build` is invoked check secretmanager for the token, if expired refresh, redrive it and pass it to Docker during lambda image build types.

##### Second Proposal
1. Allow for **parameter overrides** to be also taken from environment variables.
2. Pass token as a Parameter to the Metadata.DockerBuildArgs.
3. Do not print the token during builds.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.