Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cloudwatch var #2891

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions terraform/environment/region.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module "eu_west_1" {
autoscaling = local.environment.autoscaling
associate_alb_with_waf_web_acl_enabled = local.environment.associate_alb_with_waf_web_acl_enabled
capacity_provider = local.capacity_provider
cloudwatch_application_insights_enabled = local.environment.cloudwatch_application_insights_enabled
cloudwatch_application_insights_enabled = var.cloudwatch_application_insights_enabled
container_version = var.container_version
cookie_expires_use = local.environment.cookie_expires_use
cookie_expires_view = local.environment.cookie_expires_view
Expand Down Expand Up @@ -97,7 +97,7 @@ module "eu_west_2" {
autoscaling = local.environment.autoscaling
associate_alb_with_waf_web_acl_enabled = local.environment.associate_alb_with_waf_web_acl_enabled
capacity_provider = local.capacity_provider
cloudwatch_application_insights_enabled = local.environment.cloudwatch_application_insights_enabled
cloudwatch_application_insights_enabled = var.cloudwatch_application_insights_enabled
container_version = var.container_version
cookie_expires_use = local.environment.cookie_expires_use
cookie_expires_view = local.environment.cookie_expires_view
Expand Down
2 changes: 1 addition & 1 deletion terraform/environment/terraform.tfvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"minimum": 2
}
},
"cloudwatch_application_insights_enabled": false,
"cloudwatch_application_insights_enabled": true,
"cookie_expires_use": 1440,
"cookie_expires_view": 1440,
"create_dashboard": false,
Expand Down
6 changes: 5 additions & 1 deletion terraform/environment/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ variable "container_version" {
description = "The version of the ECS container images to deploy"
}

variable "cloudwatch_application_insights_enabled" {
type = bool
description = "Enable CloudWatch Application Insights"
}

variable "admin_container_version" {
type = string
default = "latest"
Expand Down Expand Up @@ -46,7 +51,6 @@ variable "environments" {
})
cookie_expires_use = number
cookie_expires_view = number
cloudwatch_application_insights_enabled = bool
create_dashboard = bool
create_onelogin_dashboard = bool
google_analytics_id_use = string
Expand Down
Loading