1
0
Fork 0
terraform-training/project1/base.tf

13 lines
208 B
Terraform
Raw Normal View History

2020-05-11 14:46:09 +02:00
provider "aws" {
2020-05-11 15:58:56 +02:00
region = "eu-west-2"
2020-05-11 14:46:09 +02:00
}
2020-05-11 15:58:56 +02:00
resource "aws_instance" "cedric-res1" {
ami = "ami-01a6e31ac994bbc09"
2020-05-11 14:46:09 +02:00
instance_type = "t2.micro"
2020-05-11 15:58:56 +02:00
key_name = "cedric"
tags = {
Name = "cedric-res1"
}
2020-05-11 14:46:09 +02:00
}