0

I'm working on a CDK deployment. I'm trying to set up a stack that creates a ECR image which is completely build the way I want. However, I'm stuck at the part of getting the private repositories which you can add through composer config --global --auth http-basic."$REPOSITORY" "$USERNAME" "$PASSWORD". I have the repo, username and password stored in AWS Secrets Manager. What I'm trying to do is to inject those variables during the build process so I can run a fully initialized application instead of running composer install on each Fargate container. There is no way that I get my secrets in my Docker container. Does anybody has a recommendation?

3
  • What is composer? Commented 2 days ago
  • You mention a lot of things. Secret store, cdk, fargate and composer. Not sure they all link together. Perhaps try to break your problem down into more pieces. Maybe with some paragraphs... Commented 2 days ago
  • Is the cdk supposed to build and deploy the docker to ect? Commented 2 days ago

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.