Open ritikMahajanOHAI opened 2 days ago
Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.
Hello @ritikMahajanOHAI ! I want to reproduce your issue so that I can hopefully be able to help, what kind of changes did you make in the tfvars file?
I had just removed one of the dimension from the created custom_metric.
There seems to be an issue with how the update works, currently as a workaround you can try to removing and recreating the resource as the create works fine.
@iliassox Thanks for checking and acknowledging the issue. Kindly let us know when can we expect update functionality to be fixed for oci_apm_config_config resource as our scenario requires that we are able to update this resource.
There is no ETA at the moment but I'll update you once we have an idea. π
Community Note
Terraform Version and Provider Version
Terraform v1.6.2 on linux_amd64
Affected Resource(s)
Data Source: oci_apm_config_config
Terraform Configuration Files
Debug Output
https://gist.github.com/ritikMahajanOHAI/bcbf87c11bf2b4adf0bb86cea5ecc61e
Panic Output
Expected Behavior
The resource should have been updated.
Actual Behavior
Getting 404 error.
Steps to Reproduce
1 - Create a new custom metric using terraform. 2 - Edit the newly created custom metric by updating the tfvars file. 3 - terraform plan creates a valid plan but terraform update gives error.
terraform apply
Important Factoids
References