cuddly-australia-69919
10/26/2022, 11:03 PMawsx.ecr.Image
object but I haven’t been able to get a custom tag. Does anyone know how to achieve custom tags with ECR and pulumi? I’m happy to shift away from awsx
as well if there is a different approach to this.billowy-army-68599
cuddly-australia-69919
10/26/2022, 11:10 PMimport pulumi_awsx as awsx
repo = awsx.ecr.Repository("repo_name")
image = awsx.ecr.Image(
"my-image-name",
repository_url=repo.url,
path="path/to/docker/build/context",
dockerfile="path/to/docker/file",
)
This is the code I have. The image and repo are imported into __main__.py
so they get picked up and created by pulumi.billowy-army-68599
pulumi_docker
cuddly-australia-69919
10/26/2022, 11:23 PMpulumi_docker
to set custom tags?billowy-army-68599
cuddly-australia-69919
10/26/2022, 11:30 PM