» ciscoasa_access_out_rules
Provides a Cisco ASA outbound access rule. Outbound access rules apply to traffic as it exits an interface.
» Example Usage
resource "ciscoasa_access_out_rules" "foo" {
interface = "inside"
rule {
source = "192.168.10.5/32"
destination = "192.168.15.0/25"
destination_service = "tcp/443"
}
rule {
source = "192.168.10.0/24"
source_service = "udp"
destination = "192.168.15.6/32"
destination_service = "udp/53"
}
rule {
source = "192.168.10.0/23"
destination = "192.168.12.0/23"
destination_service = "icmp/0"
}
}
» Argument Reference
The following arguments are supported:
-
interface
- (Required) -
rule
- (Required) One or morerule
elements as defined below. -
managed
- (Optional) Defaultfalse
.
»
rule
supports the following:
-
destination_service
- (Required) -
destination
- (Required) -
source
- (Required) -
active
- (Optional) Defaulttrue
. -
permit
- (Optional) Defaulttrue
. -
source_service
- (Optional) -
id
- (Computed)