Create Terraform recipes for OCI in minutes!

By | February 24, 2020

Want to automate your Oracle Cloud Infrastructure with Terraform, but not want to write complex recipes by hand? No Worry, use the OCI terraform Resource Discovery service to create all the recipes for you!

Check out my simple demonstration on Youtube.

One thought on “Create Terraform recipes for OCI in minutes!

  1. hiranyasri

    Getting the below issue while applying code.I could see instance is up and running but terraform job had return with following errors and job got failed. Kindly advise me what are all things need be changed.

    Error: Service error:InvalidParameter. Ephemeral public IP cannot be created without a private IP to which the public IP will be assigned to.. http status code: 400. Opc request id: e2a2770ddf1644bfad21ec99ead40882/79ED77AA05DCC1B9DBDCCD6D958D3EB3/C95096CFCAE948CC1501F80C599B41A8
    on core.tf line 176, in resource “oci_core_public_ip” “export_IP-for-NAT-gateway-ocid1-natgateway-oc1-ap-mumbai-1-aaaaaaaa6lrlsvoy2sbcutjwxzz55x2wr4jvp3uymmcmdrnvfhvq66b4vo2q”
    176: resource oci_core_public_ip export_IP-for-NAT-gateway-ocid1-natgateway-oc1-ap-mumbai-1-aaaaaaaa6lrlsvoy2sbcutjwxzz55x2wr4jvp3uymmcmdrnvfhvq66b4vo2q {
    Error: Service error:InvalidParameter. Ephemeral public IP cannot be created without a private IP to which the public IP will be assigned to.. http status code: 400. Opc request id: 7c750f273261d75226bd65ccbb3a3ccd/01FD55D920C6D9BF8B7D302C32F6FDE7/0772D583DCABD66380680A167D55B17F
    on core.tf line 189, in resource “oci_core_public_ip” “export_IP-for-NAT-gateway-ocid1-natgateway-oc1-ap-mumbai-1-aaaaaaaaa5ckmt6vhka66y53rvj5qypxbwlrdkz6s4w56mn4qwopf2ygsmna”
    189: resource oci_core_public_ip export_IP-for-NAT-gateway-ocid1-natgateway-oc1-ap-mumbai-1-aaaaaaaaa5ckmt6vhka66y53rvj5qypxbwlrdkz6s4w56mn4qwopf2ygsmna {
    Error: Service error:Conflict. The IP address 10.0.0.7 has already been allocated for the Subnet ocid1.subnet.oc1.ap-mumbai-1.aaaaaaaa3z77yk2ljakdbmnsaddggs523pifqhq5nc5ed5kv6ov7t6ky5cya.. http status code: 409. Opc request id: 92fedc260e353b17542311388b77b0fe/BD81B0573DBD5E85BFEDAED7A7BABEEC/08408669D66DA0848C1FB30045EF6605
    on core.tf line 322, in resource “oci_core_private_ip” “export_Sample_instance_1”
    322: resource oci_core_private_ip export_Sample_instance_1 {

    Reply

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.