Merge branch 'main' of git.sr.ht:~marcuskammer/dev.metalisp.survey
This commit is contained in:
commit
543d1a362c
2 changed files with 23 additions and 0 deletions
23
aws.tf
Normal file
23
aws.tf
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
terraform {
|
||||||
|
required_providers {
|
||||||
|
aws = {
|
||||||
|
source = "hashicorp/aws"
|
||||||
|
version = "~> 4.16"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
required_version = ">= 1.2.0"
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "aws" {
|
||||||
|
region = "us-west-2"
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "aws_instance" "app_server" {
|
||||||
|
ami = "ami-830c94e3"
|
||||||
|
instance_type = "t2.micro"
|
||||||
|
|
||||||
|
tags = {
|
||||||
|
Name = "ExampleAppServerInstance"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue