Which part of this were you hoping to be simpler?
The first statement is required to create an ECR repository to use.
The second statement is required to get credentials for accessing it from AWS (given that these are short lived and not directly available from the repository).
The third statement captures which folder to build and what name to tag and push it with.
In something like
cloud.Service
we hide all of those steps inside
new cloud.Service("s", { build: "./app" })
, but all of those steps still have to happen.
b
busy-umbrella-36067
10/03/2018, 11:32 PM
Why does the
getCredentials
function need a registry id? I'm running into dependency issues on previews since the repo doesn't exist yet
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.