sparse-intern-71089
06/30/2020, 1:06 PMlimited-rainbow-51650
06/30/2020, 1:20 PMwhite-rainbow-68240
06/30/2020, 1:26 PM⭐ Run <docker://pulumi/actions>
[Pulumi/Update] 🐳 docker run image=pulumi/actions entrypoint=[] cmd=["up" "--yes"]
[Pulumi/Update] ❌ Failure - <docker://pulumi/actions>
Error: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"up\": executable file not found in $PATH": unknown
limited-rainbow-51650
06/30/2020, 1:28 PMwhite-rainbow-68240
06/30/2020, 1:32 PMwhite-rainbow-68240
06/30/2020, 1:33 PMwhite-rainbow-68240
06/30/2020, 1:34 PM["/usr/bin/pulumi-action", "--non-interactive"]
in https://github.com/pulumi/pulumi/blob/master/dist/actions/Dockerfile
will see if it works.white-rainbow-68240
06/30/2020, 1:39 PMwhite-rainbow-68240
06/30/2020, 1:39 PMwhite-rainbow-68240
06/30/2020, 1:39 PMname: Pulumi
on:
push:
branches:
- master
jobs:
up:
name: Update
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: <docker://pulumi/actions>
with:
args: up --yes
entrypoint: /usr/bin/pulumi-action --non-interactive
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
PULUMI_CI: up
PULUMI_ROOT: infra
limited-rainbow-51650
06/30/2020, 1:47 PMact
?white-rainbow-68240
06/30/2020, 1:48 PMact
and fails after about 45-55 mins on github actions
limited-rainbow-51650
06/30/2020, 1:50 PMlimited-rainbow-51650
06/30/2020, 1:54 PMwhite-rainbow-68240
06/30/2020, 1:54 PMlimited-rainbow-51650
06/30/2020, 1:55 PMwhite-rainbow-68240
06/30/2020, 1:55 PMwhite-rainbow-68240
06/30/2020, 1:55 PMimport * as awsx from "@pulumi/awsx";
const containerPort = "80";
const vpc = new awsx.ec2.Vpc("frea-api", {
cidrBlock: "10.0.0.0/16",
});
const cluster = new awsx.ecs.Cluster("cluster", {
vpc,
});
const alb = new awsx.elasticloadbalancingv2.ApplicationLoadBalancer(
"frea-api-lb",
{
external: true,
securityGroups: cluster.securityGroups,
vpc,
}
);
const web = alb.createListener("web", {
port: 80,
external: true,
vpc,
});
let service = new awsx.ecs.FargateService("frea-api-svc", {
cluster,
desiredCount: 2,
subnets: vpc.privateSubnetIds,
taskDefinitionArgs: {
container: {
image: awsx.ecs.Image.fromPath("frea-api-image", "../server"),
memory: 512,
portMappings: [web],
environment: [{ name: "PORT", value: containerPort }],
},
},
});
export const url = web.endpoint.hostname;
white-rainbow-68240
06/30/2020, 1:56 PMwhite-rainbow-68240
06/30/2020, 1:57 PMwhite-rainbow-68240
06/30/2020, 2:00 PMlimited-rainbow-51650
06/30/2020, 2:01 PMwhite-rainbow-68240
06/30/2020, 2:01 PMwhite-rainbow-68240
06/30/2020, 2:01 PMlimited-rainbow-51650
06/30/2020, 2:02 PMwhite-rainbow-68240
06/30/2020, 2:03 PM#### :tropical_drink: `pulumi --non-interactive up --yes`
Previewing update (dev):
pulumi:pulumi:Stack frea-api-dev running
aws:lb:ApplicationLoadBalancer frea-api-lb
awsx:x:ecs:FargateTaskDefinition frea-api-svc
awsx:x:ec2:Vpc frea-api
awsx:x:ecs:FargateService frea-api-svc
awsx:x:ecs:Cluster cluster
@ Previewing update..............................................................................................................................................
aws:iam:Role frea-api-svc-task error: error using credentials to get account ID: error calling sts:GetCallerIdentity: RequestError: send request failed
white-rainbow-68240
06/30/2020, 2:03 PMwhite-rainbow-68240
06/30/2020, 2:04 PMlimited-rainbow-51650
06/30/2020, 2:05 PMlimited-rainbow-51650
06/30/2020, 2:06 PMwhite-rainbow-68240
06/30/2020, 2:06 PMwhite-rainbow-68240
06/30/2020, 2:06 PMwhite-rainbow-68240
06/30/2020, 2:07 PMlimited-rainbow-51650
06/30/2020, 2:08 PMlimited-rainbow-51650
06/30/2020, 2:09 PM