32 lines
613 B
Terraform
32 lines
613 B
Terraform
variable "aws_access_key" {}
|
|
variable "aws_secret_key" {}
|
|
|
|
provider "aws" {
|
|
access_key = var.aws_access_key
|
|
secret_key = var.aws_secret_key
|
|
region = var.aws-region
|
|
}
|
|
|
|
variable "vpc-cidr" {
|
|
default = "172.16.0.0/16"
|
|
}
|
|
|
|
variable aws-region {}
|
|
variable serviceprovider {}
|
|
variable owner {}
|
|
variable project {}
|
|
variable environment {}
|
|
variable application {}
|
|
variable terraformmode {}
|
|
|
|
locals {
|
|
default-tags = {
|
|
serviceprovider = "rackspace"
|
|
terraform = var.terraformmode
|
|
environment = var.environment
|
|
project = var.project
|
|
application = var.application
|
|
}
|
|
}
|
|
|