diff --git a/internal/services/orbital/spacecraft_resource_test.go b/internal/services/orbital/spacecraft_resource_test.go index 06e73234c94b..40bda0185e18 100644 --- a/internal/services/orbital/spacecraft_resource_test.go +++ b/internal/services/orbital/spacecraft_resource_test.go @@ -98,8 +98,8 @@ resource "azurerm_orbital_spacecraft" "test" { norad_id = "12345" links { - bandwidth_mhz = 100 - center_frequency_mhz = 101 + bandwidth_mhz = 30 + center_frequency_mhz = 2050 direction = "Uplink" polarization = "LHCP" name = "linkname" @@ -123,8 +123,8 @@ resource "azurerm_orbital_spacecraft" "test" { norad_id = "23456" links { - bandwidth_mhz = 100 - center_frequency_mhz = 101 + bandwidth_mhz = 20 + center_frequency_mhz = 2045 direction = "Uplink" polarization = "LHCP" name = "linkname" @@ -148,8 +148,8 @@ resource "azurerm_orbital_spacecraft" "test" { norad_id = "12345" links { - bandwidth_mhz = 100 - center_frequency_mhz = 101 + bandwidth_mhz = 30 + center_frequency_mhz = 2050 direction = "Uplink" polarization = "LHCP" name = "linkname" diff --git a/website/docs/r/orbital_spacecraft.html.markdown b/website/docs/r/orbital_spacecraft.html.markdown index 58a22f9e4a68..bf35d06d9a74 100644 --- a/website/docs/r/orbital_spacecraft.html.markdown +++ b/website/docs/r/orbital_spacecraft.html.markdown @@ -25,8 +25,8 @@ resource "azurerm_orbital_spacecraft" "example" { norad_id = "12345" links { - bandwidth_mhz = 100 - center_frequency_mhz = 101 + bandwidth_mhz = 30 + center_frequency_mhz = 2050 direction = "Uplink" polarization = "LHCP" name = "examplename" @@ -69,6 +69,8 @@ A `links` block supports the following: * `center_frequency_mhz` - (Required) Center frequency in Mhz. +~> **Note:** The value of `center_frequency_mhz +/- bandwidth_mhz / 2` should fall in one of these ranges: `Uplink/LHCP`: [2025, 2120]; `Uplink/Linear`: [399, 403],[435, 438],[449, 451]; `Uplink/RHCP`: [399, 403],[435, 438],[449, 451],[2025, 2120]; `Downlink/LHCP`: [2200, 2300], [7500, 8400]; `Downlink/Linear`: [399, 403], [435, 438], [449, 451]; Downlink/Linear`: [399, 403], [435, 438], [449, 451], [2200, 2300], [7500, 8400] + * `direction` - (Required) Direction if the communication. Possible values are `Uplink` and `Downlink`. * `polarization` - (Required) Polarization. Possible values are `RHCP`, `LHCP`, `linearVertical` and `linearHorizontal`.