15 lines
528 B
Terraform
15 lines
528 B
Terraform
|
data "aws_caller_identity" "this" {}
|
||
|
|
||
|
locals {
|
||
|
default-tags = merge({
|
||
|
ServiceProvider = "None"
|
||
|
Environment = var.environment
|
||
|
Project = var.project
|
||
|
Application = var.application
|
||
|
TerraformMode = "managed"
|
||
|
TerraformDir = trimprefix(path.cwd, "/my/work/xpk-git/")
|
||
|
CreatedBy = data.aws_caller_identity.this.arn
|
||
|
BuildDate = formatdate("YYYYMMDD", timestamp())
|
||
|
})
|
||
|
resource-prefix = "${var.environment}-${var.aws-region-short}-${var.customer-name}-${var.project}"
|
||
|
}
|