-
Notifications
You must be signed in to change notification settings - Fork 4k
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
DockerImageAsset: environmental variables #28692
Labels
@aws-cdk/aws-ecr-assets
Related to AWS CDK Docker Image Assets
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p3
Comments
Is it possible to do this with docker build? |
As is, I would need to add to the app instructions to export these env vars before calling CDK deploy. |
Does it help to export that before the cdk deploy like?
|
@pahud Sure it works to explicitly export env vars, but I was hoping they could be defined in the build process. |
any updates on this? Sounds like an important feature to have. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/aws-ecr-assets
Related to AWS CDK Docker Image Assets
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p3
Describe the feature
Is it possible to include environmental variables in the docker build? I don't see it included here: https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_ecr_assets/DockerImageAsset.html
Use Case
I would like to include the following env vars when building docker images with CDK:
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
latest
Environment details (OS name and version, etc.)
MacOS
The text was updated successfully, but these errors were encountered: