Skip to content

Commit

Permalink
Merge pull request #21208 from teowa/fix_app_configuration_keys_ds
Browse files Browse the repository at this point in the history
data source `azurerm_app_configuration_keys` - fix to use `LinkWorkaroundDataPlaneClientWithEndpoint`
  • Loading branch information
tombuildsstuff committed Mar 31, 2023
2 parents 4a3fe0b + 06f5278 commit c8db2b2
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -135,12 +135,12 @@ func (k KeysDataSource) Read() sdk.ResourceFunc {
// Link: "</kv?somepath...>; rel=next;"
// whereas the client expects a complete URI to be present and therefore fails to fetch all results if
// store contains more than 100 entries
client, err := metadata.Client.AppConfiguration.DataPlaneClientWithEndpoint(*configurationStoreEndpoint)
client, err := metadata.Client.AppConfiguration.LinkWorkaroundDataPlaneClientWithEndpoint(*configurationStoreEndpoint)
if err != nil {
return err
}

nestedItemId, err := parse.NewNestedItemID(client.Endpoint, model.Key, model.Label)
nestedItemId, err := parse.NewNestedItemID(*configurationStoreEndpoint, model.Key, model.Label)
if err != nil {
return err
}
Expand Down

0 comments on commit c8db2b2

Please sign in to comment.