'Terraform/OCI IPsec tunnel inside IP configuration error

When attempting to use oci_core_ipsec_connection_tunnel_management to provision inside IPs for the IPsec tunnel and change the IKE version, I get the following error from Terraform:

Service: Core Ip Sec Connection Tunnel Management 
Error Message: configuration of advanced IKE parameter is not allowed in your tenancy. 
Suggestion: Please Update the parameter(s) in the Terraform config as per error message configuration of advanced IKE parameter is not allowed in your tenancy.
 
 
   with oci_core_ipsec_connection_tunnel_management.test-ipsec-mgmt,
   on main.tf line 218, in resource "oci_core_ipsec_connection_tunnel_management" "test-ipsec-mgmt":
  218: resource "oci_core_ipsec_connection_tunnel_management" "test-ipsec-mgmt"

Resource config snippet:

resource "oci_core_ipsec_connection_tunnel_management" "test-ipsec-mgmt" {
    #Required
    ipsec_id = oci_core_ipsec.test-ipsec.id
    tunnel_id = data.oci_core_ipsec_connection_tunnels.test_ip_sec_connection_tunnels.ip_sec_connection_tunnels[0].id
    routing = "STATIC"
    # Optional
    bgp_session_info {
        #Optional
        customer_interface_ip = "x.x.x.x/31"
        oracle_interface_ip = "x.x.x.x/31"
    }
    ike_version = "V1"

However, I can provision these attributes manually, in the GUI, without any errors.

Thank you for your help.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source