sparse-intern-71089
11/13/2020, 2:23 PMable-shampoo-38014
11/13/2020, 2:26 PM<https://www.pulumi.com/docs/reference/pkg/aws/ecr/getrepository/>
and use that value thinking it may be something with the repo that hadnt yet been created, but that ended up throwing the same errorsteep-angle-29984
11/13/2020, 2:54 PMconst batchJobDefinition = new aws.batch.JobDefinition(
'image_processor_pulumi',
{
name: 'image_processor_job_definition_pulumi',
retryStrategy: { attempts: 3 },
timeout: { attemptDurationSeconds: 1200 },
containerProperties: pulumi.interpolate`{
"command": [ "blah" ],
"image": "${ecrRepository.repositoryUrl}",
"memory": 1024,
"vcpus": 1,
"otherprops" ...
}
`,
type: 'container',
},
{
dependsOn: [ecrRepository],
},
);
able-shampoo-38014
11/13/2020, 3:01 PM