Skip to content

Conversation

tobio
Copy link
Member

@tobio tobio commented Sep 14, 2025

Fixes #395

This includes a breaking change to the current provider schema. Existing outputs defining SSL attributes will require an update as part of upgrading. SSL has been moved from a block to an attribute, so ssl {} becomes ssl = {}.

For example:

resource "elasticstack_fleet_output" "test_output" {
  name = "Test Output"
  type = "elasticsearch"
  config_yaml = yamlencode({
    "ssl.verification_mode" : "none"
  })
  default_integrations = false
  default_monitoring   = false
  hosts = [
    "https://elasticsearch:9200"
  ] 
  ssl {
    certificate_authorities = [
      file("${path.module}/ca.crt")
    ]
    certificate = file("${path.module}/client.crt")
    key         = file("${path.module}/client.key")
  } 
}

becomes:

resource "elasticstack_fleet_output" "test_output" {
  name = "Test Output"
  type = "elasticsearch"
  config_yaml = yamlencode({
    "ssl.verification_mode" : "none"
  })
  default_integrations = false
  default_monitoring   = false
  hosts = [
    "https://elasticsearch:9200"
  ] 
  ssl = {
    certificate_authorities = [
      file("${path.module}/ca.crt")
    ]
    certificate = file("${path.module}/client.crt")
    key         = file("${path.module}/client.key")
  } 
}

@tobio tobio requested review from dimuon and nick-benoit September 14, 2025 21:49
@tobio tobio self-assigned this Sep 14, 2025
* origin/main:
  Improve docs generation (#1313)
  Add optional preventInitialBackfill for SLO API (#1071)
Copy link

@nick-benoit nick-benoit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few clarifying questions. Looks good! 🚀

nick-benoit
nick-benoit previously approved these changes Sep 18, 2025
@tobio tobio merged commit add9bdd into main Sep 18, 2025
50 checks passed
@tobio tobio deleted the kafka branch September 18, 2025 23:18
tobio added a commit that referenced this pull request Sep 18, 2025
* origin/main:
  Add support for Kafka Fleet output types. (#1302)
tobio added a commit that referenced this pull request Sep 23, 2025
* origin/main:
  fix: nil reference in api.kibana_synthetics.go:418 in case of unmarshable arrays (#1320)
  Bump github.com/hashicorp/terraform-plugin-framework (#1326)
  Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.37.0 to 2.38.0 (#1325)
  chore(deps): update golang:1.25.1 docker digest to 8305f5f (#1322)
  Clarify how acceptance tests should be run (#1324)
  Move diag utilities from utils to dedicated diagutil package (#1317)
  Add support for Kafka Fleet output types. (#1302)
  Allow a default for `allow_restricted_indices` within an API Key role descriptor (#1315)
  Improve docs generation (#1313)
  Add optional preventInitialBackfill for SLO API (#1071)
  Add support for dataViewId (#1305)
  [Feature] Add unenrollment_timeout parameter to Fleet Agent Policy resource (#1306)
  chore(deps): update actions/setup-go action to v6 (#1301)
  chore(deps): update golang docker tag to v1.25.1 (#1300)
  Update generated SLO client.  (#1303)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expand elasticstack_fleet_output resource to support Kafka
2 participants