-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid address to set: []string{"integrations_server", "0", "symbols_https_endpoint"} or Invalid address to set: []string{"integrations_server", "0", "profiling_https_endpoint"} #781
Comments
Might need to be added to the Nested Schema for integrations_server.endpoints Thanks. |
Apologies to pester but this is impacting use hard i.e. we can't apply elastic changes through our terraform code beacuse of the issue. Thanks. |
@davidg-datascene I'm struggling to reproduce this with just the resource definition included here. Are you able to produce a minimal set of steps to reproduce this error? Specifically covering:
|
We have introduced APM (integrations_server) into Kibana via the terraform resource "ec_deployment" as shown by the snippet below. We have a nonprod and prod cluster using APM (integrations_server) built using the same terraform module. On the nonprod cluster the issue doesn't exist, probably because the Symbols and Profiling endpoints haven't been activated. We haven't introduced Universal Profiling on either cluster but suspect someone may have clicked on the Universal Profiling link in the Observability part of the PROD Kibana to activate the endpoints. Elastic cloud version: 8.11.3 Terrafrom provider version (we currently can't upgrade to the latest EC provider but I suspect the issue is with the latest provider as well) terraform {
required_providers {
ec = {
source = "elastic/ec"
version = "< 0.6"
}
}
required_version = ">= 0.14"
} Include APM (integrations_server) in Cluster deploymentresource "ec_deployment" "elasticcloud" {
name = "test-with-apm"
### Include integrations_server (APM)
integrations_server {
topology {
size = "4g"
zone_count = 3
}
}
} 1 - Go into Kibana and click on Universal Profiling in Kibana? Let me know if you need more info. Thanks |
@tobio the below config can be copy-pasted to reproduce the issue: Run the below
Once deployment is finished, you can verify that a
If you then navigate to https://YOUR_DEP.kb.northeurope.azure.elastic-cloud.com:9243/app/profiling and click on "Set up universal profiling", any subsequent refresh will fail because of the added endpoint, per the initial description:
|
Might be as simple as adding symbols and profiling there From the API call response:
|
@3kt @davidg-datascene thanks for the repro steps. I can repro this with 0.5, but this issue has been fixed in 0.6+. Is there another issue blocking an upgrade? |
@tobio - Hi, thanks for reproducing it. We are looking at the options to upgrade to v0.6 as that is a breaking change and then from there to the latest. |
Expected Behavior
The terraform plan runs through without error
## Terraform definition
Steps to Reproduce
ElasticCloud have introduced some new endpoints (Profiling and Symbols) as per screen shot.
EC version: 8.11.3
which is causing the plan to fail on subsequent runs (symbols_https_endpoint or profiling_https_endpoint):
The text was updated successfully, but these errors were encountered: