This message was deleted.
# aws
s
This message was deleted.
a
Copy code
const web = new aws.ec2.Instance('my-instance', {
  ami: recentAmazonLinuxAmi().id,
  instanceType: 't4g.nano',
  associatePublicIpAddress: false,
});
b
It's set to true in the state? Which subnet are you using, if the subnet is public that takes precedence
a
Oh of course. I was trying small, incremental examples but I just charged forward and once I set all that the problem went away. That makes sense - shoulda thought of that.