Elastic cloud provider version 0.8.0 adding apm_secret_token everytime pipeline runs #684
Closed
4 tasks done
Labels
bug
Something isn't working
I have recently upgraded the Elastic Terraform provider from version 0.4.1 to 0.8.0 and encountered an unexpected issue during the process. After successfully importing the ec_deployments resources, I performed a plan to verify the upgrade, but I noticed that the creation of apm_secret_token is pending in the plan. Surprisingly, this situation persists even after a successful apply.
Upon further investigation, I noticed that the apm_secret_token value is not being written to my state file during the apply process, and it remains set to the default value, i.e., null. This issue seems to be specific to clusters where the Integrations Server (APMs) feature is enabled.
I am using Terraform version 1.5.
Readiness Checklist
Expected Behavior
I expect that this vale of apm_secret_key will be added to my terraform state file and won't be pending in plan constantly.
Current Behavior
Steps to Reproduce
Context
We are trying to upgrade from elastic provider 0.4.1 to 0.8.0
Your Environment
The text was updated successfully, but these errors were encountered: