1
0
Fork 0
terraform-training/01_basic_aws/base.tf

21 lines
424 B
HCL

provider "aws" {
region = "eu-west-2"
}
resource "aws_instance" "cedric-instance1" {
ami = "ami-01a6e31ac994bbc09"
instance_type = "t2.micro"
key_name = "cedric"
tags = {
Name = "cedric-instance1"
}
}
resource "aws_instance" "cedric-instance2" {
ami = "ami-01a6e31ac994bbc09"
instance_type = "t2.micro"
key_name = "cedric"
tags = {
Name = "cedric-instance2"
}
}