My Oracle Support Banner

OCI - Unable To Re-create/destroy Security List Resource After First Time Creation Using Terraform (Doc ID 2431227.1)

Last updated on MAY 14, 2020

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.

Symptoms

Unable to re-create/destroy security list resource (using terraform)  after first time creation using terraform. When trying to re-create the security list resource using 'terraform init', throws below error:

Error: Error applying plan:
2 error(s) occurred:
* module.seed_network.oci_core_security_list.public: 1 error(s) occurred:
* oci_core_security_list.public: Get https://iaas.us-ashburn-1.oraclecloud.com/20160918/securityLists/ocid1.securitylist.oc1.iad.aaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxte2iq: EOF
* module.seed_network.oci_core_security_list.private: 1 error(s) occurred:
* oci_core_security_list.private: Get https://iaas.us-ashburn-1.oraclecloud.com/20160918/securityLists/ocid1.securitylist.oc1.iad.aaaaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxifnleuo7swzq: EOF
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

 

Changes

 Created environment in OCI instance using "terraform init" and trying to change/update security list afterwards.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.