Hi @red-match-15116 - thanks for your help! It turned out I had to do the work of creating the docker.Image within the
apply
statement in order to get things to work. It wasn’t accepting the Outputs within the dict directly.
r
red-match-15116
03/25/2021, 2:43 AM
It’s not recommended to create resources within an
apply
- because of the unexpected behavior related to
preview
and the resource graph not being calculated correctly. There’s generally a way to refactor the code so that creating the resource within an apply is not necessary.
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.