https://pulumi.com logo
Title
m

millions-furniture-75402

10/12/2021, 2:50 PM
fromDockerBuild
appears to hang if I pass a
aws.ecr.Repository
instead of a
string
for the first argument:
const containerRepository = new aws.ecr.Repository(`${appName}-image`, {
  imageScanningConfiguration: {
    scanOnPush: true,
  },
  imageTagMutability: "MUTABLE",
});

new awsx.ecs.FargateService(
  `${appName}-service`, {
    ...
    image: awsx.ecs.Image.fromDockerBuild(containerRepository, buildArgs);
    ...
}, { dependsOn: containerRepository });
Any idea what I'm doing wrong?
Could be the ECR service... seeing
Failed to load resource: the server responded with a status of 504 ()
... and now all of AWS Console... nothing on their status page yet though
This was a result of MacOS half-installing updates and docker daemon cycling through stop/restart until I rebooted.