calm-queen-58154
06/13/2023, 11:42 AMrepository = awsx.ecr.Repository(
APP_NAME,
tags={
"Name": APP_NAME,
"Environment": environment,
"Service": SERVICE_NAME,
},
)
aws.ecr.LifecyclePolicy(
f"{APP_NAME}_ecr_policy",
repository=repository.name,
policy={
"rules": [
to no avail. I get the following error
The argument "repository" is required, but no definition was found.. Examine values at 'LifecyclePolicy.Repository'.