Skip to content

Instantly share code, notes, and snippets.

@mooyoul
Last active December 18, 2016 20:56
Show Gist options
  • Save mooyoul/d707c4cad5354d5c8e5bf9b79dc6c12d to your computer and use it in GitHub Desktop.
Save mooyoul/d707c4cad5354d5c8e5bf9b79dc6c12d to your computer and use it in GitHub Desktop.
Terraform 101 - Build Infrastructure
provider "aws" {
access_key = "ACCESS_KEY_HERE"
secret_key = "SECRET_KEY_HERE"
region = "ap-northeast-2"
}
resource "aws_instance" "example" {
ami = "ami-f293459c"
instance_type = "t2.micro"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment