github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/openstack/compute/AVD-OPNSTK-0002/Terraform.md (about)

     1  
     2  Employ more restrictive firewall rules
     3  
     4  ```hcl
     5   resource "openstack_fw_rule_v1" "rule_1" {
     6   	name                   = "my_rule"
     7   	description            = "don't let just anyone in"
     8   	action                 = "allow"
     9   	protocol               = "tcp"
    10   	destination_ip_address = "10.10.10.1"
    11   	source_ip_address      = "10.10.10.2"
    12   	destination_port       = "22"
    13   	enabled                = "true"
    14   }
    15   			
    16  ```
    17  
    18  #### Remediation Links
    19   - https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/fw_rule_v1
    20