1
0

feat: updated UserRole example

This commit is contained in:
xpk
2026-03-20 07:48:36 +08:00
parent c0c08b1584
commit 8ee5379e44
4 changed files with 94 additions and 13 deletions
+21
View File
@@ -0,0 +1,21 @@
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"
Owner = var.owner
TerraformDir = join("/", reverse(slice(reverse(split("/", path.cwd)), 0, 2)))
}
resource-prefix = "${var.environment}-substr(${var.aws-region},0,2)-${var.customer-name}-${var.project}"
}