Skip to content

Commit

Permalink
secret field as mandatory, adding the secret field to the example
Browse files Browse the repository at this point in the history
  • Loading branch information
Hys, Przemyslaw committed Aug 10, 2023
1 parent 179640e commit f12ad36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ resource "elasticstack_kibana_action_connector" "example" {
refresh = true
})
connector_type_id = ".index"
secrets = jsonencode({})
}

resource "elasticstack_kibana_action_connector" "pagerduty-connector" {
Expand Down
1 change: 0 additions & 1 deletion internal/kibana/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func ResourceActionConnector() *schema.Resource {
"secrets": {
Description: "The secrets configuration for the connector. Secrets configuration properties vary depending on the connector type.",
Type: schema.TypeString,
Optional: true,
DiffSuppressFunc: utils.DiffJsonSuppress,
ValidateFunc: validation.StringIsJSON,
},
Expand Down

0 comments on commit f12ad36

Please sign in to comment.