Skip to content

Instantly share code, notes, and snippets.

@clstokes
Created February 20, 2019 17:18
Show Gist options
  • Save clstokes/053a2958400ca69f6b065b23a3f02877 to your computer and use it in GitHub Desktop.
Save clstokes/053a2958400ca69f6b065b23a3f02877 to your computer and use it in GitHub Desktop.
08:59:39 [cloud-js-containers] $ pulumi config set aws:region us-west-2
08:59:49 [cloud-js-containers] $ pulumi config set cloud-aws:useFargate true
09:00:00 [cloud-js-containers] $ envchain aws pulumi up
Previewing update (dev):
Type Name Plan
+ pulumi:pulumi:Stack container-quickstart-dev create
+ ├─ aws-infra:network:Network default-vpc create
+ ├─ cloud:global:infrastructure global-infrastructure create
+ │ ├─ aws:iam:Role pulumi-dev-task create
+ │ ├─ aws:iam:Role pulumi-dev-execution create
+ │ ├─ aws:iam:RolePolicyAttachment pulumi-dev-task-fd1a00e5 create
+ │ ├─ aws:iam:RolePolicyAttachment pulumi-dev-task-32be53a2 create
+ │ └─ aws:iam:RolePolicyAttachment pulumi-dev-execution create
+ ├─ aws-infra:cluster:Cluster pulumi-dev-global create
+ │ ├─ aws:ecs:Cluster pulumi-dev-global create
+ │ └─ aws:ec2:SecurityGroup pulumi-dev-global create
+ ├─ cloud:service:Service pulumi-nginx create
+ │ ├─ aws:cloudwatch:LogGroup pulumi-nginx create
+ │ ├─ aws:ecs:TaskDefinition pulumi-nginx create
+ │ ├─ aws:elasticloadbalancingv2:TargetGroup 42dc3ff4 create
+ │ ├─ aws:elasticloadbalancingv2:LoadBalancer 42dc3ff4 create
+ │ ├─ aws:ecs:Service pulumi-nginx create
+ │ └─ aws:elasticloadbalancingv2:Listener pulumi-nginx-nginx-80 create
+ ├─ aws:ecr:Repository pulum-164fa748-container create
+ └─ aws:ecr:LifecyclePolicy pulum-164fa748-container create
Resources:
+ 20 to create
Do you want to perform this update? yes
Updating (dev):
Type Name Status Info
+ pulumi:pulumi:Stack container-quickstart-dev created
+ ├─ cloud:global:infrastructure global-infrastructure creating
+ │ ├─ aws:iam:Role pulumi-dev-execution created
+ │ ├─ aws:iam:Role pulumi-dev-task created
+ │ ├─ aws:iam:RolePolicyAttachment pulumi-dev-execution created
+ │ ├─ aws:iam:RolePolicyAttachment pulumi-dev-task-fd1a00e5 created
+ │ └─ aws:iam:RolePolicyAttachment pulumi-dev-task-32be53a2 created
+ ├─ aws-infra:cluster:Cluster pulumi-dev-global created
+ │ ├─ aws:ecs:Cluster pulumi-dev-global created
+ │ └─ aws:ec2:SecurityGroup pulumi-dev-global created
+ ├─ aws-infra:network:Network default-vpc created
+ ├─ cloud:service:Service pulumi-nginx created
+ │ ├─ aws:cloudwatch:LogGroup pulumi-nginx created
+ │ ├─ aws:elasticloadbalancingv2:TargetGroup 42dc3ff4 created
+ │ ├─ aws:elasticloadbalancingv2:LoadBalancer 42dc3ff4 created
+ │ ├─ aws:elasticloadbalancingv2:Listener pulumi-nginx-nginx-80 created
+ │ ├─ aws:ecs:TaskDefinition pulumi-nginx created
+ │ └─ aws:ecs:Service pulumi-nginx created
+ ├─ aws:ecr:Repository pulum-164fa748-container created
+ └─ aws:ecr:LifecyclePolicy pulum-164fa748-container created
Outputs:
hostname: "http://42dc3ff4-79ba925-11224f4055f576e0.elb.us-west-2.amazonaws.com"
Resources:
+ 20 created
Duration: 3m38s
Permalink: https://app.pulumi.com/clstokes/container-quickstart/dev/updates/1
09:03:21 [cloud-js-containers] $ curl $(pulumi stack output hostname)
<html>
<head><meta charset="UTF-8">
<title>Hello, Pulumi!</title></head>
<body>
<p>Hello, containers!</p>
<p>Made with ❤️ with <a href="https://pulumi.com">Pulumi</a></p>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment