terraform-demo/modules/ec2/main.tf

8 lines
146 B
HCL

resource "aws_instance" "ubuntu" {
ami = "ami-0ab04b3ccbadfae1f"
instance_type = "t2.micro"
tags = {
Name = "tf-ubuntu"
}
}