From 95933c517257c131e1663a3d2b9c0dfcd049d376 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 7 Oct 2016 09:24:47 +0000 Subject: [PATCH] first steps --- .gitignore | 1 + first-steps/instance.tf | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 .gitignore create mode 100644 first-steps/instance.tf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..821e02b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*/terraform.tfvars diff --git a/first-steps/instance.tf b/first-steps/instance.tf new file mode 100644 index 0000000..de3e4c5 --- /dev/null +++ b/first-steps/instance.tf @@ -0,0 +1,10 @@ +provider "aws" { + access_key = "ACCESS_KEY_HERE" + secret_key = "SECRET_KEY_HERE" + region = "us-east-1" +} + +resource "aws_instance" "example" { + ami = "ami-0d729a60" + instance_type = "t2.micro" +}