Skip to content

Commit 01694b0

Browse files
Update fleet output resource to new API schema format (#434)
- Updated fleet output to use new schema format, where each output kind now has a strongly typed data structure to hold the relevant configuration items. - Relocated the fleet api generators to match repo style, and cleaned up the schema downloader and filtering functions. - Expose 'ca_trusted_fingerprint' config value - Add test case for logstash output
1 parent 1f39e1d commit 01694b0

File tree

15 files changed

+1678
-531
lines changed

15 files changed

+1678
-531
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## [Unreleased]
22

3+
- Update `elasticstack_fleet_output` to use new API schema format ([#434](https://github.com/elastic/terraform-provider-elasticstack/pull/434))
4+
35
## [0.8.0] - 2023-09-26
46

57
### Added

docs/resources/fleet_output.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ resource "elasticstack_fleet_output" "test_output" {
4242
### Optional
4343

4444
- `ca_sha256` (String) Fingerprint of the Elasticsearch CA certificate.
45+
- `ca_trusted_fingerprint` (String) Fingerprint of trusted CA.
4546
- `config_yaml` (String, Sensitive) Advanced YAML configuration. YAML settings here will be added to the output section of each agent policy.
4647
- `default_integrations` (Boolean) Make this output the default for agent integrations.
4748
- `default_monitoring` (Boolean) Make this output the default for agent monitoring.

internal/clients/fleet/fleetapi/client_gen.go renamed to generated/fleet/fleet.gen.go

Lines changed: 912 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)