Open darkfibre opened 2 years ago
Thank you for reporting the issue. We observed the affected resources are not provided in the description or it's incorrect. We request you to add it in issue description as mentioned in below format. Example: affected_resources = oci_core_instance , oci_core_instances
If it's not related to any particular resource then mention affected resource as terraform. Example: affected_resources = terraform
As this works through automation, request you to follow exact syntax.
This appears to be the exact same type of issue as https://github.com/oracle/terraform-provider-oci/issues/869, but it affects autotune_policies. If I have a dynamic block setting an autotune_policy in a module, and then later remove the condition, then the block is left unchanged.
From my understanding, this is the behavior of Terraform because autotune_policies is set to be Optional and Computed. If it was just Optional, this would work as expected.