sparse-intern-71089
03/24/2021, 10:35 PMsquare-dress-80180
03/24/2021, 10:46 PMflask_image
in an apply statement:
flask_image = gatheredDBOutput.apply(lambda args:
docker.Image("flask-dockerimage",
image_name=app_ecr_repo_repository_url,
build=docker.DockerBuild(
context="./frontend",
args=dict(
db_host_address = args[0],
db_host_port = args[1],
db_name = args[2],
db_user = db_user,
db_pwd = db_pwd
)
),
skip_push=False,
registry=app_registry
)
)
square-dress-80180
03/24/2021, 10:47 PMapply
statement since it’s a callback and funky things can happen when pulumi preview
runs if this structure is used.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.
Powered by