We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4fd153 + 6333ff3 commit 1bd9028Copy full SHA for 1bd9028
main.tf
@@ -30,7 +30,7 @@ locals {
30
database_subnets = concat(local.database_subnets_native, flatten(local.secondary_database_subnets))
31
single_nat_gateway = var.one_nat_gateway_per_az == true ? false : true
32
create_database_subnet_route_table = var.database_subnet_enabled
33
- create_flow_log_cloudwatch_log_group = var.flow_log_enabled == true ? true : false
+ create_flow_log_cloudwatch_log_group = var.flow_log_enabled == true || var.flow_log_cloudwatch_log_group_skip_destroy == true ? true : false
34
is_supported_arch = data.aws_ec2_instance_type.arch.supported_architectures[0] == "arm64" ? false : true # for VPN Instance
35
nacl_allow_vpc_access_rule = [{
36
rule_no = 97
0 commit comments