Skip to content

Commit

Permalink
azurerm_private_dns_resolver_inbound_endpoint.private_ip_allocation_m…
Browse files Browse the repository at this point in the history
…ethod - support for the value static (#24952)
  • Loading branch information
katbyte authored Feb 21, 2024
1 parent b49f4e3 commit 9297ae6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,10 @@ func (r PrivateDNSResolverInboundEndpointResource) Arguments() map[string]*plugi
},

"private_ip_allocation_method": {
Type: pluginsdk.TypeString,
Optional: true,
Default: string(inboundendpoints.IPAllocationMethodDynamic),
ValidateFunc: validation.StringInSlice([]string{
string(inboundendpoints.IPAllocationMethodDynamic),
}, false),
Type: pluginsdk.TypeString,
Optional: true,
Default: string(inboundendpoints.IPAllocationMethodDynamic),
ValidateFunc: validation.StringInSlice(inboundendpoints.PossibleValuesForIPAllocationMethod(), false),
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The following arguments are supported:

An `ip_configurations` block supports the following:

* `private_ip_allocation_method` - (Optional) Private IP address allocation method. Allowed value is `Dynamic`. Defaults to `Dynamic`.
* `private_ip_allocation_method` - (Optional) Private IP address allocation method. Allowed value is `Dynamic` and `Static`. Defaults to `Dynamic`.

* `subnet_id` - (Required) The subnet ID of the IP configuration.

Expand Down

0 comments on commit 9297ae6

Please sign in to comment.