I see that secrets can potentially be passed in using
awsx.ecr.Image
. I could use that approach but the downside there is that I don’t see a way to specify the tag I want to use for the image, which is necessary for my use case
So I guess I have two parts to this question:
1. Can
pulumi-docker
images take in build secrets without having to build outside of Pulumi?
2. With
pulumi-awsx
is there a way to specify the image tag to be used?
cuddly-australia-69919
12/06/2023, 6:19 PM
I wasn’t able to find a solution so I’m just running
subprocess
commands within Pulumi to create and push the image. That is working for now but if there is a more pulumi friendly approach to 1) building and image with the secret built arg and 2) being able to customize the image tag name please let me know
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.