Skip to content

Commit

Permalink
Merge pull request #213 from Scalr/feature/SCALRCORE-25455
Browse files Browse the repository at this point in the history
SCALRCORE-25455 Scalr Provider > scalr_provider_configuration_default resource > Change the text of the errors
  • Loading branch information
emocharnik authored Feb 17, 2023
2 parents a529b6e + a599bef commit 08202de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalr/resource_scalr_provider_configuration_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func resourceScalrProviderConfigurationDefaultCreate(ctx context.Context, d *sch

for _, pc := range environment.DefaultProviderConfigurations {
if pc.ID == providerConfigurationID {
return diag.Errorf("Provider configuration %q is already in environment %q default provider configuration", providerConfigurationID, environmentID)
return diag.Errorf("Provider configuration is already set as default for environment %q", environmentID)
}
}

Expand Down

0 comments on commit 08202de

Please sign in to comment.