@@ -4,34 +4,34 @@ module "wrapper" {
44 for_each = var. items
55
66 create = try (each. value . create , var. defaults . create , true )
7- tags = try (each. value . tags , var. defaults . tags , {})
7+ create_logging_configuration = try (each. value . create_logging_configuration , var. defaults . create_logging_configuration , false )
8+ create_policy = try (each. value . create_policy , var. defaults . create_policy , true )
9+ create_policy_resource_policy = try (each. value . create_policy_resource_policy , var. defaults . create_policy_resource_policy , false )
810 delete_protection = try (each. value . delete_protection , var. defaults . delete_protection , true )
911 description = try (each. value . description , var. defaults . description , " " )
1012 encryption_configuration = try (each. value . encryption_configuration , var. defaults . encryption_configuration , {})
1113 firewall_policy_arn = try (each. value . firewall_policy_arn , var. defaults . firewall_policy_arn , " " )
1214 firewall_policy_change_protection = try (each. value . firewall_policy_change_protection , var. defaults . firewall_policy_change_protection , null )
13- name = try (each. value . name , var. defaults . name , " " )
14- subnet_change_protection = try (each. value . subnet_change_protection , var. defaults . subnet_change_protection , true )
15- subnet_mapping = try (each. value . subnet_mapping , var. defaults . subnet_mapping , {})
16- vpc_id = try (each. value . vpc_id , var. defaults . vpc_id , " " )
17- create_logging_configuration = try (each. value . create_logging_configuration , var. defaults . create_logging_configuration , false )
1815 logging_configuration_destination_config = try (each. value . logging_configuration_destination_config , var. defaults . logging_configuration_destination_config , [])
19- create_policy = try (each. value . create_policy , var. defaults . create_policy , true )
16+ name = try (each. value . name , var. defaults . name , " " )
17+ policy_attach_resource_policy = try (each. value . policy_attach_resource_policy , var. defaults . policy_attach_resource_policy , false )
2018 policy_description = try (each. value . policy_description , var. defaults . policy_description , null )
2119 policy_encryption_configuration = try (each. value . policy_encryption_configuration , var. defaults . policy_encryption_configuration , {})
20+ policy_name = try (each. value . policy_name , var. defaults . policy_name , " " )
21+ policy_ram_resource_associations = try (each. value . policy_ram_resource_associations , var. defaults . policy_ram_resource_associations , {})
22+ policy_resource_policy = try (each. value . policy_resource_policy , var. defaults . policy_resource_policy , " " )
23+ policy_resource_policy_actions = try (each. value . policy_resource_policy_actions , var. defaults . policy_resource_policy_actions , [])
24+ policy_resource_policy_principals = try (each. value . policy_resource_policy_principals , var. defaults . policy_resource_policy_principals , [])
2225 policy_stateful_default_actions = try (each. value . policy_stateful_default_actions , var. defaults . policy_stateful_default_actions , [])
2326 policy_stateful_engine_options = try (each. value . policy_stateful_engine_options , var. defaults . policy_stateful_engine_options , {})
2427 policy_stateful_rule_group_reference = try (each. value . policy_stateful_rule_group_reference , var. defaults . policy_stateful_rule_group_reference , {})
2528 policy_stateless_custom_action = try (each. value . policy_stateless_custom_action , var. defaults . policy_stateless_custom_action , {})
2629 policy_stateless_default_actions = try (each. value . policy_stateless_default_actions , var. defaults . policy_stateless_default_actions , [" aws:pass" ])
2730 policy_stateless_fragment_default_actions = try (each. value . policy_stateless_fragment_default_actions , var. defaults . policy_stateless_fragment_default_actions , [" aws:pass" ])
2831 policy_stateless_rule_group_reference = try (each. value . policy_stateless_rule_group_reference , var. defaults . policy_stateless_rule_group_reference , {})
29- policy_name = try (each. value . policy_name , var. defaults . policy_name , " " )
3032 policy_tags = try (each. value . policy_tags , var. defaults . policy_tags , {})
31- create_policy_resource_policy = try (each. value . create_policy_resource_policy , var. defaults . create_policy_resource_policy , false )
32- policy_resource_policy_actions = try (each. value . policy_resource_policy_actions , var. defaults . policy_resource_policy_actions , [])
33- policy_resource_policy_principals = try (each. value . policy_resource_policy_principals , var. defaults . policy_resource_policy_principals , [])
34- policy_attach_resource_policy = try (each. value . policy_attach_resource_policy , var. defaults . policy_attach_resource_policy , false )
35- policy_resource_policy = try (each. value . policy_resource_policy , var. defaults . policy_resource_policy , " " )
36- policy_ram_resource_associations = try (each. value . policy_ram_resource_associations , var. defaults . policy_ram_resource_associations , {})
33+ subnet_change_protection = try (each. value . subnet_change_protection , var. defaults . subnet_change_protection , true )
34+ subnet_mapping = try (each. value . subnet_mapping , var. defaults . subnet_mapping , {})
35+ tags = try (each. value . tags , var. defaults . tags , {})
36+ vpc_id = try (each. value . vpc_id , var. defaults . vpc_id , " " )
3737}
0 commit comments