Terraform times out on creation of a resource oci_audit_configuration
(meant as a dependency for oci_mysql_mysql_db_system
). I cannot understand why.
mysql.tf:
resource "oci_audit_configuration" "configuration" {
compartment_id = var.tenancy_ocid
retention_period_days = var.configuration_retention_period_days
}
resulting in:
Error: Timed out waiting for configuration to reach specified condition.
on ../modules/mysql/mysql.tf line 1, in resource "oci_audit_configuration" "configuration":
1: resource "oci_audit_configuration" "configuration" {
The configuration_id
of oci_mysql_mysql_db_system
is not oci_audit_configuration
.
You can view the example how to create oci_mysql_mysql_db_system
here:
https://github.com/terraform-providers/terraform-provider-oci/blob/master/examples/mysql/main.tf#L58
the configuration_id
is something like this:
https://github.com/terraform-providers/terraform-provider-oci/blob/master/examples/mysql/main.tf#L98