-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
New resource: azurerm_orbital_contact_profile
#18317
Conversation
* `modulation_configuration` - (Optional) Copy of the modem configuration file such as Kratos QRadio. Only valid for uplink directions. If provided, the modem connects to the customer endpoint and accepts commands from the customer instead of a VITA.49 stream. | ||
|
||
* `demodulation_configuration` - (Optional) Copy of the modem configuration file such as Kratos QRadio or Kratos QuantumRx. Only valid for downlink directions. If provided, the modem connects to the customer endpoint and sends demodulated data instead of a VITA.49 stream. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be
* `modulation_configuration` - (Optional) Copy of the modem configuration file such as Kratos QRadio. Only valid for uplink directions. If provided, the modem connects to the customer endpoint and accepts commands from the customer instead of a VITA.49 stream. | |
* `demodulation_configuration` - (Optional) Copy of the modem configuration file such as Kratos QRadio or Kratos QuantumRx. Only valid for downlink directions. If provided, the modem connects to the customer endpoint and sends demodulated data instead of a VITA.49 stream. | |
* `modem_modulation_file_content` - (Optional) Copy of the modem configuration file such as Kratos QRadio. Only valid for uplink directions. If provided, the modem connects to the customer endpoint and accepts commands from the customer instead of a VITA.49 stream. | |
* `modem_demodulation_file_content` - (Optional) Copy of the modem configuration file such as Kratos QRadio or Kratos QuantumRx. Only valid for downlink directions. If provided, the modem connects to the customer endpoint and sends demodulated data instead of a VITA.49 stream. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the test config seems like they are a constant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as commented above. Will double check with service team.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may need to change this services tes regions in tc config:
------- Stdout: -------
=== RUN TestAccContactProfile_basic
=== PAUSE TestAccContactProfile_basic
=== CONT TestAccContactProfile_basic
testcase.go:110: Step 1/2 error: Error running apply: exit status 1
Error: creating Contact Profile (Subscription: "*******"
Resource Group Name: "acctestRG-220913031041386609"
Contact Profile Name: "testcontactprofile-220913031041386609"): contactprofile.ContactProfileClient#ContactProfilesCreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="LocationNotAvailableForResourceType" Message="The provided location 'westeurope' is not available for resource type 'Microsoft.Orbital/contactProfiles'. List of available regions for the resource type is 'westus2,westus3,westus,eastus,southcentralus,norwayeast,australiaeast,swedencentral'."
with azurerm_orbital_contact_profile.test,
on terraform_plugin_test.tf line 41, in resource "azurerm_orbital_contact_profile" "test":
41: resource "azurerm_orbital_contact_profile" "test" {
creating Contact Profile (Subscription:
"*******"
Resource Group Name: "acctestRG-220913031041386609"
Contact Profile Name: "testcontactprofile-220913031041386609"):
contactprofile.ContactProfileClient#ContactProfilesCreateOrUpdate: Failure
sending request: StatusCode=0 -- Original Error:
Code="LocationNotAvailableForResourceType" Message="The provided location
'westeurope' is not available for resource type
'Microsoft.Orbital/contactProfiles'. List of available regions for the
resource type is
'westus2,westus3,westus,eastus,southcentralus,norwayeast,australiaeast,swedencentral'."
--- FAIL: TestAccContactProfile_basic (168.94s)
FAIL
"location": azure.SchemaLocation(), | ||
|
||
"links": ContactProfileLinkSchema(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a reason you are pulling these out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. This is schema has a nested structure, I'm pulling it out for better code readability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unless it is reused we should not be doing this
Hi @katbyte , update from service team |
"location": azure.SchemaLocation(), | ||
|
||
"links": ContactProfileLinkSchema(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unless it is reused we should not be doing this
demodulation_configuration = "na" | ||
modulation_configuration = "AQUA_UPLINK_BPSK" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these seem to just take a constant? so
demodulation_configuration = "na" | |
modulation_configuration = "AQUA_UPLINK_BPSK" | |
demodulation_type = "na" | |
modulation_type = "AQUA_UPLINK_BPSK" |
configuration seems wrong for what takes a constant
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to service team, these are not constants.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🍰
This functionality has been released in v3.27.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Test results: