oracle-quickstart / oci-network-firewall

Universal Permissive License v1.0
1 stars 2 forks source link

oci_network_firewall_network_firewall_policy - Blocks of type "security_rules" are not expected here. #13

Open TheKoguryo opened 9 months ago

TheKoguryo commented 9 months ago

When I apply to deploy the terraform code of oci-network-firewall-reference-architecture in ORM, the following error is occurred.


Error: Unsupported block type on oci_network_firewall.tf line 5, in resource "oci_network_firewall_network_firewall_policy" "network_firewall_policy" 5: security_rules { Blocks of type "security_rules" are not expected here.

vasilegroza commented 8 months ago

Facing the same issue here. It's because of the oci terraform provider version the security_rules is now a separate resource it seems, https://registry.terraform.io/providers/oracle/oci/5.23.0/docs/resources/network_firewall_network_firewall_policy_security_rule

Comosaycomosah commented 2 months ago

same problem looking for a fix