Skip to content

(aws-ecs): FargateService creates new SecurityGroup instead of using VPC default #15365

@bmacher

Description

@bmacher

According to the documentation of the FargateService the default SecurityGroup of the VPC is being used when no group is defined. However it seems to be implemented differently if you look at:

securityGroups = [new ec2.SecurityGroup(this, 'SecurityGroup', { vpc })];

A new SecurityGroup is created instead of using the default one of the VPC.

Metadata

Metadata

Labels

@aws-cdk/aws-ecsRelated to Amazon Elastic ContainerbugThis issue is a bug.documentationThis is a problem with documentation.p2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions