sparse-intern-71089
03/24/2021, 10:19 PMred-match-15116
03/24/2021, 11:53 PMargs
red-match-15116
03/24/2021, 11:53 PMred-match-15116
03/25/2021, 12:02 AMflask_image = docker.Image("flask-dockerimage",
image_name=app_ecr_repo_repository_url,
build=docker.DockerBuild(
context="./frontend",
args={
"db_host_address": db_host_address,
"db_host_port": db_host_port,
"db_name": db_name,
"db_user": db_user,
}
),
skip_push=False,
registry=app_registry
)
square-dress-80180
03/25/2021, 2:27 AMapply
statement in order to get things to work. It wasn’t accepting the Outputs within the dict directly.red-match-15116
03/25/2021, 2:43 AMapply
- 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.