Skip to content

[Bug] Error: solution field is not supported in this version of the Elastic Stack for elasticstack_kibana_space resource #1468

@bplies-ATX

Description

@bplies-ATX

Describe the bug
Upgraded provider version from 0.11.17 to 0.12.1. terraform plan evaluated an already existing resource and indicated that it had changed and would simply update in place.

  # elasticstack_kibana_space.team_spaces["devex"] will be updated in-place
~ resource "elasticstack_kibana_space" "team_spaces" {
      ~ disabled_features = [
          - "securitySolutionCases",
          + "advancedSettings",
          + "dataQuality",
          + "enterpriseSearch",
          + "fleet",
          + "fleetv2",
          + "generalCasesV2",
          + "guidedOnboardingFeature",
          + "monitoring",
          + "osquery",
          + "savedObjectsManagement",
          + "savedObjectsTagging",
            # (4 unchanged elements hidden)
        ]
        id                = "devex"
        name              = "DEVEX"
        # (5 unchanged attributes hidden)
    }

Apparently a member of that space adjusted the space's "Solution View" from "Default" to "Observability" via Kibana. That's not a problem.

The terraform apply failed with the following error message:

Error: solution field is not supported in this version of the Elastic Stack. Solution field requires 8.18.0 or higher

  with elasticstack_kibana_space.team_spaces["devex"],
  on kibana_spaces.tf line 1, in resource "elasticstack_kibana_space" "team_spaces":
   1: resource "elasticstack_kibana_space" "team_spaces" {

While it is true we are currently on 8.17.1, the "Solution field" is clearly available and working from Kibana. In addition this provider's README states:

The provider supports Elastic Stack versions 7.x+

So it is not understood why this should fail.

Versions (please complete the following information):

  • OS: Linux
  • Terraform Version 1.8.1
  • Provider version 0.12.1
  • Elasticsearch Version 8.17.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions