thousandeyes / terraform-provider-thousandeyes

ThousandEyes Terraform Provider
Apache License 2.0
21 stars 26 forks source link

Resource option to toggle bandwidth measurement flag for FTP tests #118

Open adchella-te opened 2 years ago

adchella-te commented 2 years ago

When creating an FTP server test with only cloud agents, I need to disable the whole of network measurements as bandwidth measurements cannot be made with only cloud agents selected. This however disables data collection for MTU and BGP metrics as well.

A work-around is to disable with network_measurements = false and then set mtu_measurement = true and bgp_measurements = true. However a flag to toggle only the "bandwidth_measurements" option would be more intuitive and useful which is currently not supported.

Example - `resource "thousandeyes_ftp_server" "example_ftp_server_test" { test_name = "Example FTP Server test set from Terraform provider" interval = 120 alerts_enabled = false

url = "www.thousandeyes.com" request_type = "Download"

_bandwidthmeasurement = false

username = "admin" password = "welcome"

agents { agent_id = 3 # Singapur Cloud Agent }`