calm-actor-89994
01/14/2025, 6:06 PMserver = aws.ec2.Instance(
"web-server",
ami="ami-0319ef1a70c93d5c8",
instance_type="t2.micro",
)
url = instance.public_dns.apply(
lambda dns_name: "https://" + dns_name
)
instead of instance
it should be server.