Skip to content
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

azurerm_orbital_contact_profile: set ip_address as optional #21721

Merged
merged 1 commit into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ resource "azurerm_orbital_contact_profile" "test" {
center_frequency_mhz = 101
end_point {
end_point_name = "AQUA_command"
ip_address = "10.0.1.0"
port = "49513"
protocol = "TCP"
}
Expand Down
2 changes: 1 addition & 1 deletion internal/services/orbital/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func EndPointSchema() *pluginsdk.Schema {

"ip_address": {
Type: pluginsdk.TypeString,
Required: true,
Optional: true,
ValidateFunc: validation.IsIPAddress,
},

Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/orbital_contact_profile.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ An `end_point` block supports the following:

* `end_point_name` - (Required) Name of an end point.

* `ip_address` - (Required) IP address of an end point.

* `port` - (Required) TCP port to listen on to receive data.

* `protocol` - (Required) Protocol of an end point. Possible values are `TCP` and `UDP`.

* `ip_address` - (Optional) IP address of an end point.

---

## Attribute Reference
Expand Down