Skip to content

Commit

Permalink
adding examples
Browse files Browse the repository at this point in the history
  • Loading branch information
saikrishnama committed Apr 11, 2024
1 parent 3fee112 commit 00d30c7
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions examples/main.tf
Original file line number Diff line number Diff line change
@@ -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

}
}
2 changes: 1 addition & 1 deletion examples/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# version = "~> 5.0"
# }
# }
# }
# }
2 changes: 1 addition & 1 deletion examples/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ email_id = "[email protected]"
tags = {
"Exception_resource" = "Demo"
"data_class" = "sensitive"
}
}
2 changes: 1 addition & 1 deletion examples/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ variable "email_id" {
}
variable "tags" {

}
}
2 changes: 1 addition & 1 deletion examples/versions.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# terraform {
# required_version = ">= 1.3.2"
# }
# }

0 comments on commit 00d30c7

Please sign in to comment.