Open luckeyca opened 1 year ago
The same issue happens when switching from using nsg_ids to whitelisted_ips, but failed much earlier. same steps to reproduce the issue. Judging from the issue, there are two problems here;
Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.
Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.
Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.
Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.
We have notified our service engineer. Our service engineers will get back to you.
We have notified our service engineer. Our service engineers will get back to you.
Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.
We already have an internal dev ticket to work on this. Please close this issue and track our internal dev ticket. This opening issue is keep sending oncall tickets to our team.
We are tracking this bug internally with ETA of 11th May 2023
Community Note
Terraform Version and Provider Version
All
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
When switching from using whitelisted_ips(Secure access from allowed IPs and VCNs only option from console) to using nsg_ids(Private endpoint access only), since the "terraform plan" works WITHOUT any error, terraform apply should work without any issue.
Actual Behavior
even though terraform plan worked, terraform apply failed(see error below) with error "cannot update ACL due to private endpoint". however, from console, I could see the whitelist was already removed. Also re-run of the "terraform apply" immediately was successful.
The error when the first "terraform apply" failed.
ā Error: 400-InvalidParameter, Cannot update the Autonomous Database's access control list (ACL) because a private endpoint is configured for the database. ā Suggestion: Please update the parameter(s) in the Terraform config as per error message Cannot update the Autonomous Database's access control list (ACL) because a private endpoint is configured for the database. ā Documentation: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/database_autonomous_database ā API Reference: https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabase/UpdateAutonomousDatabase ā Request Target: PUT https://database.ca-toronto-1.oraclecloud.com/20160918/autonomousDatabases/ocid1.autonomousdatabase.oc1.ca-toronto-1.an2g6ljr5xeuumqaqlxeaeuch2shzcyone2fdf4enauwkqujr63nlnyunjra ā Provider version: 4.110.0, released on 2023-03-01. This provider is 1 Update(s) behind to current. ā Service: Database Autonomous ā Operation Name: UpdateAutonomousDatabase ā OPC request ID: fdcbc01e2fa8fa59b007a447c055445b/2594BA9673192153E8D05819D01167F9/F07561E26CBFB339DA54D9D1AA925F2D ā ā ā with module.adb_toronto.oci_database_autonomous_database.primary[0], ā on ../../../main.tf line 21, in resource "oci_database_autonomous_database" "primary": ā 21: resource "oci_database_autonomous_database" "primary" { ā āµ ā· ā Error: 400-InvalidParameter, Cannot update the Autonomous Database's access control list (ACL) because a private endpoint is configured for the database. ā Suggestion: Please update the parameter(s) in the Terraform config as per error message Cannot update the Autonomous Database's access control list (ACL) because a private endpoint is configured for the database. ā Documentation: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/database_autonomous_database ā API Reference: https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabase/UpdateAutonomousDatabase ā Request Target: PUT https://database.ca-montreal-1.oraclecloud.com/20160918/autonomousDatabases/ocid1.autonomousdatabase.oc1.ca-montreal-1.an4xkljr5xeuumqaeyy234ewtpyy5jd7pa2ho7zklgtghgsevlb55ydoi4za ā Provider version: 4.110.0, released on 2023-03-01. This provider is 1 Update(s) behind to current. ā Service: Database Autonomous ā Operation Name: UpdateAutonomousDatabase ā OPC request ID: 4c15c4053d68fcdc82376aaf76a969a5/DC0FE9588B9BE4D7F7E911A149C4AB3E/10E5942060C8D3DABD3B65A642AA70A9 ā ā ā with module.adb_montreal.oci_database_autonomous_database.primary[0], ā on ../../../main.tf line 21, in resource "oci_database_autonomous_database" "primary": ā 21: resource "oci_database_autonomous_database" "primary" {
Steps to Reproduce
Important Factoids
References