terraform-demo/01-start/main.tf

14 lines
196 B
HCL

provider "aws" {
region = "ap-northeast-2"
}
resource "aws_instance" "ubuntu" {
ami = "ami-0ab04b3ccbadfae1f"
instance_type = "t2.micro"
tags = {
Name = "tf-ubuntu"
}
}