Skip to content
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

[Bug]: Feature request: Data source for alert rules. #175

Open
christung16 opened this issue Jul 14, 2024 · 0 comments
Open

[Bug]: Feature request: Data source for alert rules. #175

christung16 opened this issue Jul 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@christung16
Copy link

What versions are you using?

Terraform version 1.9.2. Thousandeyes provider: 2.0.9

What did you expect to happen?

Need a data source for alert rules such that we can select the select the alert rules for the test cases

What actually happened?

No way to find out the rule id

Terraform code to reproduce the bug

terraform plan
╷
│ Error: Invalid data source
│
│   on main.tf line 29, in data "thousandeyes_alert_rule" "http_server_alert_rule":29: data "thousandeyes_alert_rule" "http_server_alert_rule" {
│
│ The provider thousandeyes/thousandeyes does not support data source "thousandeyes_alert_rule".
│
│ Did you intend to use the managed resource type "thousandeyes_alert_rule"? If so, declare this using a "resource" block instead of a     
│ "data" block.

Any additional comments or code?

No response

Steps to reproduce the bug

terraform plan

│ Error: Invalid data source

│ on main.tf line 29, in data "thousandeyes_alert_rule" "http_server_alert_rule":
│ 29: data "thousandeyes_alert_rule" "http_server_alert_rule" {

│ The provider thousandeyes/thousandeyes does not support data source "thousandeyes_alert_rule".

│ Did you intend to use the managed resource type "thousandeyes_alert_rule"? If so, declare this using a "resource" block instead of a
│ "data" block.

@christung16 christung16 added the bug Something isn't working label Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant