terraform.aws-baseline-infra/examples/bea-mbk-monitoring-moved-to-bea-working-dir/variables.tf
2023-02-28 16:38:16 +08:00

32 lines
942 B
HCL

variable "aws-region" {}
variable "customer-name" {}
variable "environment" {}
variable "project" {}
variable "application" {}
variable "owner" {}
variable "costcenter" {}
variable "DynamicAddressGroup" {}
variable actions-enabled {}
data "aws_caller_identity" "this" {}
locals {
cw-alarm-prefix = "${upper(var.project)}-${upper(var.environment)}"
default-tags = {
ServiceProvider = "RackspaceTechnology"
Environment = var.environment
Project = var.project
Application = var.application
TerraformMode = "managed"
LastModified = formatdate("YYYYMMDD", timestamp())
ModifiedBy = data.aws_caller_identity.this.arn
Owner = var.owner
CostCenter = var.costcenter
DynamicAddressGroup = var.DynamicAddressGroup
}
resource-prefix = "${var.environment}-substr(${var.aws-region},0,2)-${var.customer-name}-${var.project}"
}