diff --git a/infrastructure/stack.py b/infrastructure/stack.py index 55db702..48d77e7 100644 --- a/infrastructure/stack.py +++ b/infrastructure/stack.py @@ -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