terraform-provider-oci
terraform-provider-oci copied to clipboard
Plugin Crashed: oci_database_autonomous_database_saas_admin_user
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version and Provider Version
Terraform v1.6.6
on linux_amd64
+ provider registry.terraform.io/oracle/oci v5.24.0
Affected Resource(s)
oci_database_autonomous_database_saas_admin_user
Terraform Configuration Files
variable "password" {
default = "H3ll0_W0rld_2024"
}
resource "oci_database_autonomous_database" "default_adb" {
admin_password = var.password
autonomous_maintenance_schedule_type = "REGULAR"
character_set = "AL32UTF8"
compartment_id = var.compartment_ocid
compute_count = 2
compute_model = "ECPU"
data_storage_size_in_gb = 20
db_name = "BUGDB"
db_version = "19c"
db_workload = "OLTP"
display_name = "BUGDB"
license_model = "BRING_YOUR_OWN_LICENSE"
is_mtls_connection_required = true
}
// SaaS Account
resource "oci_database_autonomous_database_saas_admin_user" "admin_user" {
autonomous_database_id = oci_database_autonomous_database.default_adb.id
password = var.password
access_type = "READ_WRITE"
duration = 1
}
Debug Output
Panic Output
N/A
Expected Behavior
After the duration "expires" on oci_database_autonomous_database_saas_admin_user, the resource should be destroyed and re-created or updated.
Actual Behavior
Error: The terraform-provider-oci_v5.24.0 plugin crashed! after the duration "expires". For example; create the oci_database_autonomous_database_saas_admin_user resource with 1 duration at 13:00; at 14:01 any plan, apply, or destory operation fails with the "plugin crashed".
Steps to Reproduce
terraform applyusing the resources defined in the above "Terraform Configuration Files" section- Wait 1 hour as specified in
oci_database_autonomous_database_saas_admin_userduration terraform plan
Important Factoids
This bug renders the stack inoperable; the only way to recover is to remove the resource from the terraform state:
terraform state rm oci_database_autonomous_database_saas_admin_user.admin_user
References
Tested again on recently released + provider registry.terraform.io/oracle/oci v5.25.0 for completeness; plugin still crashes.