flaky-receptionist-88878
09/06/2018, 7:52 PMcreamy-potato-29402
09/06/2018, 8:25 PMcreamy-potato-29402
09/06/2018, 8:25 PMflaky-receptionist-88878
09/06/2018, 8:36 PMflaky-receptionist-88878
09/06/2018, 8:36 PMcreamy-potato-29402
09/06/2018, 8:36 PMcreamy-potato-29402
09/06/2018, 8:36 PMflaky-receptionist-88878
09/06/2018, 8:37 PMcreamy-potato-29402
09/06/2018, 8:57 PMflaky-receptionist-88878
09/06/2018, 8:59 PMcreamy-potato-29402
09/06/2018, 8:59 PMfresh-umbrella-15520
09/07/2018, 4:04 AMNo default VPC for this user
I do not want to use a default VPC and I only see the vpcClassicLinkId
arg, but I tried that without luck. Is there another argument I am missing?fresh-umbrella-15520
09/07/2018, 4:08 AMmicroscopic-florist-22719
webInstanceSg.name
with webInstanceSg.id
?fresh-umbrella-15520
09/07/2018, 4:26 AMfresh-umbrella-15520
09/07/2018, 4:29 AMmicroscopic-florist-22719
LaunchConfiguration
parameters are not exactly self-explanatory. Even the underlying API docs are... not great: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateLaunchConfiguration.htmlfresh-umbrella-15520
09/07/2018, 4:31 AMfresh-umbrella-15520
09/07/2018, 4:32 AMmicroscopic-florist-22719
fresh-umbrella-15520
09/07/2018, 4:34 AMmicroscopic-florist-22719
creamy-potato-29402
09/07/2018, 4:35 AMfresh-umbrella-15520
09/07/2018, 4:37 AMcreamy-potato-29402
09/07/2018, 4:45 AMglamorous-printer-66548
09/10/2018, 5:06 AM@pulumi/docker
to build an image which is subsequently used for a k8s deployment. The image shall be pushed to a private GCR registry. This is a subset of my current code:
const imageName = 'prediction-container-manager-router';
const image = docker.buildAndPushImage(
'solvvy-dev/prediction-container-manager-router',
{
context: './router',
dockerfile: './router/Dockerfile'
},
'solvvy-dev/prediction-container-manager-router',
null,
async () => ({
registry: '<http://gcr.io|gcr.io>',
username: 'oauth2accesstoken',
password: execSync('gcloud auth print-access-token').toString('utf8')
})
);
Pulumi up fails with
logging in to registry...
pulumi:pulumi:Stack: prediction-container-manager-prediction-container-manager-api-cluster-dev-b
info: denied: requested access to the resource is denied
error: [runtime] Docker push of image 'solvvy-dev/prediction-container-manager-router' failed with exit code: 1
which is not a very helpful error. Is there some example of how to use gcr? Also what should I pass as logResource
/ the forth parameter of docker.buildAndPushImage to perhaps get some more useful log output? Currently I’m just passing null
.creamy-potato-29402
09/10/2018, 5:28 AMcreamy-potato-29402
09/10/2018, 5:28 AMcreamy-potato-29402
09/10/2018, 5:28 AMcreamy-potato-29402
09/10/2018, 5:29 AM