Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,5 @@ jobs:
ELASTICSEARCH_USERNAME: "elastic"
ELASTICSEARCH_PASSWORD: ${{ env.ELASTIC_PASSWORD }}
KIBANA_ENDPOINT: "http://localhost:5601"
KIBANA_API_KEY: ${{ steps.get-api-key.outputs.apikey }}
KIBANA_USERNAME: "elastic"
KIBANA_PASSWORD: ${{ env.ELASTIC_PASSWORD }}
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Migrate `elasticstack_elasticsearch_system_user` resource to Terraform plugin framework ([#1154](https://github.com/elastic/terraform-provider-elasticstack/pull/1154))
- Add custom `endpoint` configuration support for snapshot repository setup ([#1158](https://github.com/elastic/terraform-provider-elasticstack/pull/1158))
- Add `description` to `elasticstack_kibana_security_role` ([#1172](https://github.com/elastic/terraform-provider-elasticstack/issues/1172))
- Add `elasticstack_kibana_synthetics_parameter` resource ([#1155](https://github.com/elastic/terraform-provider-elasticstack/pull/1155))

## [0.11.15] - 2025-04-23

Expand Down Expand Up @@ -425,7 +426,8 @@
- Initial set of docs
- CI integration
[Unreleased]: https://github.com/elastic/terraform-provider-elasticstack/compare/v0.11.14...HEAD
[Unreleased]: https://github.com/elastic/terraform-provider-elasticstack/compare/v0.11.15...HEAD
[0.11.15]: https://github.com/elastic/terraform-provider-elasticstack/compare/v0.11.14...v0.11.15
[0.11.14]: https://github.com/elastic/terraform-provider-elasticstack/compare/v0.11.13...v0.11.14
[0.11.13]: https://github.com/elastic/terraform-provider-elasticstack/compare/v0.11.12...v0.11.13
[0.11.12]: https://github.com/elastic/terraform-provider-elasticstack/compare/v0.11.11...v0.11.12
Expand Down
54 changes: 54 additions & 0 deletions docs/resources/kibana_synthetics_parameter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
subcategory: "Kibana"
layout: ""
page_title: "Elasticstack: elasticstack_kibana_synthetics_parameter Resource"
description: |-
Creates or updates a Kibana synthetics parameter.
---

# Resource: elasticstack_kibana_synthetics_parameter

Creates or updates a Kibana synthetics parameter.
See [Working with secrets and sensitive values](https://www.elastic.co/docs/solutions/observability/synthetics/work-with-params-secrets)
and [API docs](https://www.elastic.co/docs/api/doc/kibana/group/endpoint-synthetics)

## Example Usage

```terraform
provider "elasticstack" {
kibana {}
}
resource "elasticstack_kibana_synthetics_parameter" "example" {
key = "example_key"
value = "example_value"
description = "Example description"
tags = ["tag-a", "tag-b"]
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `key` (String) The key of the parameter.
- `value` (String, Sensitive) The value associated with the parameter.

### Optional

- `description` (String) A description of the parameter.
- `share_across_spaces` (Boolean) Whether the parameter should be shared across spaces.
- `tags` (List of String) An array of tags to categorize the parameter.

### Read-Only

- `id` (String) Generated id for the parameter.

## Import

Import is supported using the following syntax:

```shell
terraform import elasticstack_kibana_synthetics_parameter.my_param <space id>/<param_id>
```
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
terraform import elasticstack_kibana_synthetics_parameter.my_param <space id>/<param_id>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
provider "elasticstack" {
kibana {}
}

resource "elasticstack_kibana_synthetics_parameter" "example" {
key = "example_key"
value = "example_value"
description = "Example description"
tags = ["tag-a", "tag-b"]
}
Loading
Loading