Terraform template - AWS variables

Problem this snippet solves:

Terraform template - AWS variables

Code :

variable "ha_enabled" {
    default = "0"
}

variable "region" {
    default = "us-east-1"
}

provider "aws" {
    access_key = "access"
    secret_key = "secret"
    region = "${var.region}"
}

variable "dut-ami" {
    default = {
        us-east-1 = "ami-key"
    }
}
Published Sep 29, 2016
Version 1.0

Was this article helpful?

No CommentsBe the first to comment