Skip to content

Commit

Permalink
Vpc associated with ecs cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
fedecastelli committed Feb 6, 2023
1 parent d2a6a82 commit c57bb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blockchain-listener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export class BlockchainListener extends Construct {
natGateways: 0,
natGatewayProvider: undefined,
ipAddresses: ec2.IpAddresses.cidr(props.cidrBlock),
subnetConfiguration: ec2.Vpc.DEFAULT_SUBNETS_NO_NAT,
},
);
this.securityGroup = new ec2.SecurityGroup(
Expand All @@ -110,6 +109,7 @@ export class BlockchainListener extends Construct {
{
enableFargateCapacityProviders: true,
containerInsights: false,
vpc: this.vpc,
},
);
// the IAM role used by the ecs task while running
Expand Down

0 comments on commit c57bb08

Please sign in to comment.