NEW: code revised
This commit is contained in:
+20
-4
@@ -1,15 +1,31 @@
|
||||
variable "aws_access_key" {}
|
||||
variable "aws_secret_key" {}
|
||||
variable "aws_region" {}
|
||||
|
||||
provider "aws" {
|
||||
access_key = var.aws_access_key
|
||||
secret_key = var.aws_secret_key
|
||||
region = var.aws_region
|
||||
version = ">= 2.28.1"
|
||||
region = var.aws-region
|
||||
}
|
||||
|
||||
variable "default-tags" {}
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user