12 lines
208 B
HCL
12 lines
208 B
HCL
provider "aws" {
|
|
region = "eu-west-2"
|
|
}
|
|
|
|
resource "aws_instance" "cedric-res1" {
|
|
ami = "ami-01a6e31ac994bbc09"
|
|
instance_type = "t2.micro"
|
|
key_name = "cedric"
|
|
tags = {
|
|
Name = "cedric-res1"
|
|
}
|
|
}
|