Releases: thousandeyes/terraform-provider-thousandeyes
Releases · thousandeyes/terraform-provider-thousandeyes
v2.0.9
What's Changed
- fix: alert rule and tests association by @brumarqu-te in #168
New Contributors
- @brumarqu-te made their first contribution in #168
Full Changelog: v2.0.8...v2.0.9
v2.0.8
What's Changed
- feat: adding support for webhook notifications by @cbhoffman in #164
New Contributors
- @cbhoffman made their first contribution in #164
Full Changelog: v2.0.7...v2.0.8
v2.0.7
v2.0.6
v2.0.5
v2.0.4
What's Changed
- feat: add alert rule severity by @wjwong93 in #147
- fix: resources deleted outside Terraform not re-created by @joaomper-TE in #149
New Contributors
Full Changelog: v2.0.3...v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
What's Changed
Full Changelog: v1.3.3...v2.0.0
Additional information on the breaking change
Going forward it will no longer be possible to attach a label/group to a test in any test resource. Test resources obtain the labels linked to them via the API automatically (computed fields). Labels are now linked to tests only in the label resource. This diverges from what the ThousandEyes API allows, but is necessary considering how terraform works, as it was previously possible to have a test resource cancel out a label that is being added to it in a label resource, because the test resource wasn't setting the label.
Example:
resource "thousandeyes_agent_to_server" "thousandeyes_agent_to_server_icmp_test" {
test_name = "Pedro-test: Example Agent to Server ICMP test from Terraform provider"
interval = 120
alerts_enabled = false
server = "www.thousandeyes.com"
protocol = "ICMP"
enabled = false
agents {
agent_id = X
}
}
resource "thousandeyes_agent_to_server" "thousandeyes_agent_to_server_tcp_no_port" {
test_name = "Pedro-test: agent to server TCP no port from terraform provider"
interval = 120
alerts_enabled = false
use_public_bgp = false
enabled = false
server = "www.thousandeyes.com"
agents {
agent_id = X
}
# BREAKING CHANGE HERE
//groups {
// group_id = thousandeyes_label.pedro-label.group_id <--- # THIS IS NO LONGER POSSIBLE, THIS IS NOW A COMPUTED FIELD
//}
}
resource "thousandeyes_label" "pedro-label" {
name = "Pedro - Test Label"
type = "tests"
tests {
test_id = thousandeyes_agent_to_server.thousandeyes_agent_to_server_tcp_no_port.test_id
}
tests {
test_id = thousandeyes_agent_to_server.thousandeyes_agent_to_server_icmp_test.test_id
}
}