Skip to content

Mark elasticstack_kibana_action_connector.secrets as sensitive #1045

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

Merged
merged 3 commits into from
Mar 12, 2025
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Add missing entries to `data_view.field_formats.params` ([#1001](https://github.com/elastic/terraform-provider-elasticstack/pull/1001))
- Fix namespaces inconsistency when creating elasticstack_kibana_data_view resources ([#1011](https://github.com/elastic/terraform-provider-elasticstack/pull/1011))
- Update rule ID documentation. ([#1047](https://github.com/elastic/terraform-provider-elasticstack/pull/1047))
- Mark `elasticstack_kibana_action_connector.secrets` as sensitive. ([#1045](https://github.com/elastic/terraform-provider-elasticstack/pull/1045)

## [0.11.13] - 2025-01-09

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/kibana_action_connector.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ resource "elasticstack_kibana_action_connector" "slack-api-connector" {

- `config` (String) The configuration for the connector. Configuration properties vary depending on the connector type.
- `connector_id` (String) A UUID v1 or v4 to use instead of a randomly generated ID.
- `secrets` (String) The secrets configuration for the connector. Secrets configuration properties vary depending on the connector type.
- `secrets` (String, Sensitive) The secrets configuration for the connector. Secrets configuration properties vary depending on the connector type.
- `space_id` (String) An identifier for the space. If space_id is not provided, the default space is used.

### Read-Only
Expand Down
1 change: 1 addition & 0 deletions internal/kibana/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func ResourceActionConnector() *schema.Resource {
Optional: true,
DiffSuppressFunc: utils.DiffJsonSuppress,
ValidateFunc: validation.StringIsJSON,
Sensitive: true,
},
"is_deprecated": {
Description: "Indicates whether the connector type is deprecated.",
Expand Down
Loading