NEW: code revised

This commit is contained in:
xpk
2020-08-17 12:24:15 +08:00
parent c6928fff02
commit 15ff974790
7 changed files with 141 additions and 17 deletions
+20 -4
View File
@@ -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
}
}