Skip to content

Commit

Permalink
SCALRCORE-28030 Fix provider_name.
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanMytsko committed Oct 2, 2023
1 parent 00f8546 commit 0cb88bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scalr/data_source_scalr_provider_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ func dataSourceScalrProviderConfigurationRead(ctx context.Context, d *schema.Res
}

providerConfiguration := providerConfigurations.Items[0]
d.SetId(providerConfiguration.ID)
_ = d.Set("provider_name", providerConfiguration.ProviderName)

if providerConfiguration.IsShared {
_ = d.Set("environments", []string{"*"})
Expand Down

0 comments on commit 0cb88bb

Please sign in to comment.