Skip to content

Commit

Permalink
change variable structure and remove un-needed merges
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Jan 18, 2024
1 parent 116b6e5 commit 4dbcc59
Show file tree
Hide file tree
Showing 5 changed files with 1,535 additions and 1,533 deletions.
2 changes: 1 addition & 1 deletion terraform/environments/planetfm/ec2-common.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ resource "aws_ssm_document" "remove_local_users_windows" {
},
)
}

resource "aws_ssm_document" "network-testing-tools" {
name = "network-testing-tools"
document_type = "Command"
Expand Down
2 changes: 1 addition & 1 deletion terraform/environments/planetfm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,6 @@ module "baseline" {
)

# example code for creating a cost usage report - locals_development.tf
cost_usage_report = lookup(local.baseline_environment_config, "baseline_cost_usage_report", {})
cost_usage_report = lookup(local.baseline_environment_config, "baseline_cost_usage_report", { create = false })

}
4 changes: 3 additions & 1 deletion terraform/modules/baseline/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,9 @@ variable "resource_explorer" {

variable "cost_usage_report" {
description = "Enables AWS Cost Usage Report"
type = map(any)
type = object({
create = bool
})
default = {
create = false
}
Expand Down
Loading

0 comments on commit 4dbcc59

Please sign in to comment.