diff --git a/CHANGELOG.md b/CHANGELOG.md index 65491d6..e152133 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,3 +2,5 @@ - 0.0.1 -- 2024-10-18 - initial creation with tags for finops +- 0.0.6 -- 2024-11-22 + - add finops.roles diff --git a/base-label/variables.tf b/base-label/variables.tf new file mode 100644 index 0000000..3d4d6a9 --- /dev/null +++ b/base-label/variables.tf @@ -0,0 +1,25 @@ +variable "business" { + description = "Business label (organization, program, etc)" + type = string +} + +variable "application" { + description = "Application label" + type = string +} + +variable "environment" { + description = "Environment label" + type = string + + validation { + condition = contains(["dev","test","qa","uat","ite","stage","prod","cre","sa","services","common"],var.environment) + error_message = "var.environment value invalid. See https://github.e.it.census.gov/terraform/cloud-information/tree/master/aws/documentation/naming-tagging-standard for valid list." + } +} + +variable "custom" { + description = "Custom label" + type = string + default = null +} diff --git a/common/version.tf b/common/version.tf index 8eeb428..4a4de87 100644 --- a/common/version.tf +++ b/common/version.tf @@ -1,4 +1,4 @@ locals { - _module_version = "0.0.1" + _module_version = "0.0.6" _module_name = "boc-nts" }