cat < main.tf provider "aws" { region = "us-west-2" } resource "aws_instance" "example" { ami = "ami-08e2d37b6a0129927" instance_type = "t2.micro" user_data = <<-EOF #!/bin/bash echo "Hello, T101 Study" > index.html nohup busybox httpd -f -p 8080 & EOF tags = { Name = "terraform-Study-101" } } EOT