Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clstokes/pulumi-aws-ts-ecs-existing-vpc
A Pulumi application to create an ECS Fargate example using a pre-existing VPC and Subnets.
https://github.com/clstokes/pulumi-aws-ts-ecs-existing-vpc
pulumi pulumi-aws
Last synced: 17 days ago
JSON representation
A Pulumi application to create an ECS Fargate example using a pre-existing VPC and Subnets.
- Host: GitHub
- URL: https://github.com/clstokes/pulumi-aws-ts-ecs-existing-vpc
- Owner: clstokes
- License: apache-2.0
- Created: 2019-06-18T02:37:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-18T02:41:02.000Z (over 5 years ago)
- Last Synced: 2024-11-08T13:55:35.407Z (2 months ago)
- Topics: pulumi, pulumi-aws
- Language: TypeScript
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# An ECS Fargate example using a pre-existing VPC and Subnets
## Setup
```
$ pulumi config set existingVpcId vpc-abc123
$ pulumi config set existingSubnetIds subnet-abc123,subnet-def456
```## Execution
```
$ pulumi up
Previewing update (dev):Type Name Plan
+ pulumi:pulumi:Stack pulumi-aws-ts-ecs-existing-vpc-dev create
+ ├─ awsx:x:ec2:Vpc main create
+ │ ├─ awsx:x:ec2:Subnet main-public-0 create
+ │ ├─ awsx:x:ec2:Subnet main-public-1 create
> │ ├─ aws:ec2:Subnet main-public-0 read...
> │ └─ aws:ec2:Subnet main-public-1 read
+ ├─ awsx:x:elasticloadbalancingv2:ApplicationLoadBalancer net-lb create
+ │ ├─ awsx:x:elasticloadbalancingv2:ApplicationTargetGroup web create
+ │ └─ awsx:x:elasticloadbalancingv2:ApplicationListener web create
+ │ ├─ awsx:x:ec2:IngressSecurityGroupRule web-external-0-ingress create
+ │ └─ awsx:x:ec2:EgressSecurityGroupRule web-external-0-egress create
> │ ├─ aws:ec2:Subnet main-public-0 read
+ │ ├─ awsx:x:ec2:Subnet default-vpc-public-0 create
+ │ ├─ awsx:x:ec2:Subnet default-vpc-public-1 create
> │ ├─ aws:ec2:Subnet default-vpc-public-0 read
> │ ├─ aws:ec2:Subnet default-vpc-public-0 read
+ │ │ └─ aws:ec2:SecurityGroupRule web-external-0-ingress create
+ ├─ awsx:x:ecs:Cluster main create
+ ├─ awsx:x:ecs:Cluster main create
+ ├─ awsx:x:ecs:Cluster main create
+ │ ├─ awsx:x:ec2:SecurityGroup main create
+ │ ├─ awsx:x:ec2:SecurityGroup main create
+ │ ├─ awsx:x:ec2:SecurityGroup main create
+ │ │ └─ aws:elasticloadbalancingv2:Listener web create
+ │ │ │ └─ aws:ec2:SecurityGroupRule main-ssh create
+ │ │ ├─ awsx:x:ec2:EgressSecurityGroupRule main-egress create
+ │ │ │ └─ aws:ec2:SecurityGroupRule main-egress create
+ │ │ ├─ awsx:x:ec2:IngressSecurityGroupRule main-containers create
+ │ │ │ └─ aws:ec2:SecurityGroupRule main-containers create
+ │ │ └─ aws:ec2:SecurityGroup main create
+ │ └─ aws:ecs:Cluster main create
+ ├─ awsx:x:ecs:FargateTaskDefinition app-svc create
+ │ ├─ aws:iam:Role app-svc-execution create
+ │ ├─ aws:cloudwatch:LogGroup app-svc create
+ │ ├─ aws:iam:Role app-svc-task create
+ │ ├─ aws:iam:RolePolicyAttachment app-svc-execution-9a42f520 create
+ │ ├─ aws:iam:RolePolicyAttachment app-svc-task-32be53a2 create
+ │ ├─ aws:iam:RolePolicyAttachment app-svc-task-fd1a00e5 create
+ │ └─ aws:ecs:TaskDefinition app-svc create
+ ├─ awsx:x:ecs:FargateService app-svc create
+ │ └─ aws:ecs:Service app-svc create
> ├─ aws:ec2:Vpc main read
> └─ aws:ec2:Vpc default-vpc readResources:
+ 37 to createDo you want to perform this update?
yes
> no
details
```