AutoScalingGroup vpc_subnets doesn't seem to do anything #3859
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
bug
This issue is a bug.
language/python
Related to Python bindings
馃悰 Bug Report
What is the problem?
I'm using cdk with Python and have an AutoScalingGroup launching an EC2 instance within a vpc. Everything was working fine, except when I tried to add
vpc_subnets
to the constructor in order to specify which subnet I want the instance to launch in,cdk synth
resulted in no differences to the CloudFormation templates andcdk diff
doesn't reflect that either.Reproduction Steps
If you have code like the following, the
vpc_subnets
parameter doesn't seem to be honoured:Environment
The text was updated successfully, but these errors were encountered: