-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[ResponseOps][Rules] Extend the TerraForm provider to support the new capabilities of the Create Rule API #186963
Comments
Pinging @elastic/response-ops (Team:ResponseOps) |
see also relates issues to Terraform, lets make sure we fix all issues with this effort. @cnasikas thanks!! |
Related to elastic/terraform-provider-elasticstack#591 |
TF provider release with all the changes described in the issue: https://github.com/elastic/terraform-provider-elasticstack/releases/tag/v0.11.7 |
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: elastic/terraform-provider-elasticstack#591, #186963, https://github.com/elastic/enhancements/issues/22130, https://github.com/elastic/enhancements/issues/22131, https://github.com/elastic/enhancements/issues/22129
DoD
The text was updated successfully, but these errors were encountered: