Skip to content

Latest commit

 

History

History

hierarchical-firewall-policy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

hierarchical Firewall Policy Rule

This example creates a Service Account and 2 hierarchical firewall policy. First policy will have a few rules and will be attached to folders. Second policy will not be attached and any folders/org and will not have any rules.

Inputs

Name Description Type Default Required
folder1 The folder_id ID 1 to to create firewall policy in any n/a yes
folder2 The folder_id ID 2 to attach firewal policy to any n/a yes
folder3 The folder_id ID 3 to attach firewal policy to any n/a yes
project_id The project ID to host the network in any n/a yes

Outputs

Name Description
firewal_policy_no_rules_id ID of Firewall policy created without any rules and association
firewal_policy_no_rules_name Name of Firewall policy created without any rules and association
firewal_policy_no_rules_parent_folder Firewall policy parent
fw_policy_id Firewall policy ID
fw_policy_name Firewall policy name
fw_policy_parent_folder Firewall policy parent
project_id Project ID
rules Firewall policy rules
target_associations Firewall policy association