resource "aws_instance" "web" { ami = "ami-49bbfa38" instance_type = "t3.micro" key_name = "kfong-aws" vpc_security_group_ids = ["sg-053612d40f966eec7"] subnet_id = "subnet-0a4edc273558afaab" associate_public_ip_address = true iam_instance_profile = "AmazonSSMRoleForInstancesQuickSetup" tags = { Name = "kf-ssm-test" ssm-enabled = "yes" } }