Place ec2 explicitly in public subnet
All checks were successful
AWS Deploy on Push / build (push) Successful in 7m20s
All checks were successful
AWS Deploy on Push / build (push) Successful in 7m20s
This commit is contained in:
@@ -117,6 +117,9 @@ class IptvUpdaterStack(Stack):
|
||||
instance = ec2.Instance(
|
||||
self, "IptvUpdaterInstance",
|
||||
vpc=vpc,
|
||||
vpc_subnets=ec2.SubnetSelection(
|
||||
subnet_type=ec2.SubnetType.PUBLIC
|
||||
),
|
||||
instance_type=ec2.InstanceType.of(
|
||||
ec2.InstanceClass.T2,
|
||||
ec2.InstanceSize.MICRO
|
||||
|
||||
Reference in New Issue
Block a user