Open cnasikas opened 1 week ago
Pinging @elastic/response-ops (Team:ResponseOps)
see also relates issues to Terraform, lets make sure we fix all issues with this effort. @cnasikas thanks!! https://github.com/elastic/kibana/issues/178969 https://github.com/elastic/terraform-provider-elasticstack/issues/524
The Elastic TerraForm provider allows users to create rules using TerraForm. It uses the Create Rule API to create rules. The API evolved over time to support new features but the TF provider fell behind. We should update the TF provider to support the new capabilities.
The current model of the rule: https://github.com/elastic/terraform-provider-elasticstack/blob/eb077fd2993321ec813222c317aed0a831c6f073/internal/models/alert_rule.go
The current request schema of the Create rule API: https://github.com/elastic/kibana/blob/ac9f6233eb6675c6d5db7cef80817a4698543653/x-pack/plugins/alerting/docs/openapi/components/schemas/create_rule_request.yaml
Related: https://github.com/elastic/terraform-provider-elasticstack/issues/591