This message was deleted.
# aws
s
This message was deleted.
b
can you share the code you currently have?
c
Copy code
import 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.
b
ah, yeah the tag is designed to change in this, if you want to set a custom tag, you’ll need to use
pulumi_docker
c
I’ll give that a shot. Do you have any examples of using
pulumi_docker
to set custom tags?
c
Great. I’ll try that out tomorrow. Thank you Lee!