Last active
April 10, 2021 14:45
-
-
Save vhaberkorn/fa6854b72f9455d00f76a03bef5d2145 to your computer and use it in GitHub Desktop.
terraform snippet 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_providers { | |
aws = { | |
source = "hashicorp/aws" | |
version = "~> 3.0" | |
} | |
} | |
} | |
provider "aws" { | |
region = "us-east-1" | |
} | |
resource "aws_instance" "example" { | |
ami = "ami-042e8287309f5df03" | |
instance_type = "t2.micro" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment