25 lines
744 B
Terraform
25 lines
744 B
Terraform
|
variable "aws-region" {}
|
||
|
variable "customer-name" {}
|
||
|
variable "environment" {}
|
||
|
variable "project" {}
|
||
|
variable "application" {}
|
||
|
variable "owner" {}
|
||
|
variable "costcenter" {}
|
||
|
variable "DynamicAddressGroup" {}
|
||
|
|
||
|
locals {
|
||
|
default-tags = {
|
||
|
ServiceProvider = "RackspaceTechnology"
|
||
|
Environment = var.environment
|
||
|
Project = var.project
|
||
|
Application = var.application
|
||
|
TerraformMode = "managed"
|
||
|
BuildDate = formatdate("YYYYMMDD", timestamp())
|
||
|
Owner = var.owner
|
||
|
CostCenter = var.costcenter
|
||
|
DynamicAddressGroup = var.DynamicAddressGroup
|
||
|
|
||
|
}
|
||
|
resource-prefix = "${var.environment}-${substr(var.aws-region,0,2)}-${var.customer-name}-${var.project}"
|
||
|
}
|