python-terrascript/examples/TUAR_why_terraform
Ilon Sjögren 7ac44e29fd Should generate docs without warnings, and keep examples updated 2020-09-11 16:32:35 +02:00
..
README.md Cleaning up 2020-01-08 22:40:20 +00:00
TUAR_why_terraform.py Should generate docs without warnings, and keep examples updated 2020-09-11 16:32:35 +02:00

README.md

Terraform: Up & Running - Why Terraform

Hello World example adapted from Yevgeniy Brikman's book Terraform: Up & Running.

{
  "provider": {
    "aws": [
      {
        "region": "us-east-2",
        "version": "~>2.0"
      }
    ]
  },
  "resource": {
    "aws_instance": {
      "app": {
        "instance_type": "t2.micro",
        "availability_zone": "us-east-2a",
        "ami": "ami-0c55b159cbfafe1f0",
        "user_data": "#!/bin/bash\nsudo service apache2 start"
      }
    }
  }
}