sparse-intern-71089
04/12/2022, 5:56 PMbland-continent-32037
04/12/2022, 6:06 PMbillowy-army-68599
billowy-army-68599
getImage
call inside the apply()
However in your case, why are you running getImage
? have you pushed an image to the repo?incalculable-thailand-44404
04/12/2022, 6:13 PMincalculable-thailand-44404
04/12/2022, 6:16 PMrepository.name.apply(repoName => {
const serviceImage = pulumi.output(aws.ecr.getImage({
imageTag: "...",
repositoryName: repoName,
}));
serviceImage.id.apply(id => console.log(`image ID : ${id}`))
})
billowy-army-68599
billowy-army-68599
getImage
is designed to retrieve images that might be created outside pulumi. you should really define your image in your code and let Pulumi handle itincalculable-thailand-44404
04/12/2022, 6:42 PMbillowy-army-68599
incalculable-thailand-44404
04/12/2022, 6:46 PMbillowy-army-68599
incalculable-thailand-44404
04/12/2022, 6:56 PMbillowy-army-68599
incalculable-thailand-44404
04/12/2022, 7:05 PMincalculable-thailand-44404
04/12/2022, 9:14 PMbland-continent-32037
04/14/2022, 7:16 PMincalculable-thailand-44404
04/25/2022, 12:50 AMbland-continent-32037
04/25/2022, 12:51 AM