Skip to content

Commit

Permalink
SCALRCORE-25455 update error message for default provider configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanMytsko committed Feb 17, 2023
1 parent a529b6e commit a599bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalr/resource_scalr_provider_configuration_default.go
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 a599bef

Please sign in to comment.