Skip to content

Commit

Permalink
azurerm_orbital_spacecraft: fix spacecraft acc tests for new valida…
Browse files Browse the repository at this point in the history
…tion on backend service (#24698)
  • Loading branch information
jiaweitao001 authored Jan 31, 2024
1 parent 2063945 commit 4eabde7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions internal/services/orbital/spacecraft_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
6 changes: 4 additions & 2 deletions website/docs/r/orbital_spacecraft.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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`.
Expand Down

0 comments on commit 4eabde7

Please sign in to comment.