diff --git a/examples/main.tf b/examples/main.tf index 8329e34..036e0ac 100644 --- a/examples/main.tf +++ b/examples/main.tf @@ -1,20 +1,20 @@ -# module "required_tags" { -# source = "github.com/saikrishnama/terraform-resource-tags.git" -# environment = var.environment -# cost_center_id = var.cost_center_id -# app_team_name = var.app_team_name -# application_name = var.application_name -# application_portfolio = var.application_portfolio -# email_id = var.email_id -# tags = var.tags -# } +module "required_tags" { + source = "github.com/saikrishnama/terraform-resource-tags.git" + environment = var.environment + cost_center_id = var.cost_center_id + app_team_name = var.app_team_name + application_name = var.application_name + application_portfolio = var.application_portfolio + email_id = var.email_id + tags = var.tags +} module "kms" { source = "../" description = "sample-kmskey" kms_key_usage = "ENCRYPT_DECRYPT" customer_master_key_spec = "SYMMETRIC_DEFAULT" # deletion_window_in_days = 7 - multi_region = false + multi_region = false # required_tags = module.required_tags -} \ No newline at end of file +} diff --git a/examples/provider.tf b/examples/provider.tf index 3c212fe..98ae511 100644 --- a/examples/provider.tf +++ b/examples/provider.tf @@ -5,4 +5,4 @@ # version = "~> 5.0" # } # } -# } \ No newline at end of file +# } diff --git a/examples/terraform.tfvars b/examples/terraform.tfvars index fb4400c..3d80b4d 100644 --- a/examples/terraform.tfvars +++ b/examples/terraform.tfvars @@ -7,4 +7,4 @@ email_id = "example@gmail.com" tags = { "Exception_resource" = "Demo" "data_class" = "sensitive" -} \ No newline at end of file +} diff --git a/examples/variables.tf b/examples/variables.tf index ddf02f9..09c1094 100644 --- a/examples/variables.tf +++ b/examples/variables.tf @@ -16,4 +16,4 @@ variable "email_id" { } variable "tags" { -} \ No newline at end of file +} diff --git a/examples/versions.tf b/examples/versions.tf index e7bb666..5f02843 100644 --- a/examples/versions.tf +++ b/examples/versions.tf @@ -1,3 +1,3 @@ # terraform { # required_version = ">= 1.3.2" -# } \ No newline at end of file +# }