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" {
|
2020-05-11 16:12:25 +02:00
|
|
|
ami = "ami-01a6e31ac994bbc09"
|
2020-05-11 14:46:09 +02:00
|
|
|
instance_type = "t2.micro"
|
2020-05-11 16:12:25 +02:00
|
|
|
key_name = "cedric"
|
2020-05-11 15:58:56 +02:00
|
|
|
tags = {
|
|
|
|
Name = "cedric-res1"
|
|
|
|
}
|
2020-05-11 14:46:09 +02:00
|
|
|
}
|