1.0.1
This commit is contained in:
@@ -77,7 +77,7 @@ func (d *dataSourceAccountListDeleted) Schema(ctx context.Context, _ datasource.
|
||||
}
|
||||
|
||||
func (d *dataSourceAccountListDeleted) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) {
|
||||
resp.TypeName = req.ProviderTypeName + "_account_deleted_list"
|
||||
resp.TypeName = req.ProviderTypeName + "_account_list_deleted"
|
||||
}
|
||||
|
||||
// Configure adds the provider configured client to the data source.
|
||||
|
||||
@@ -41,7 +41,7 @@ type resourceAccount struct {
|
||||
func (r *resourceAccount) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) {
|
||||
resp.Diagnostics.AddError(
|
||||
"Only users with admin privileges are able to create accounts. Contact your platform administrator or import existing account.",
|
||||
"Use 'terraform import basis_account.<NAME> <ID>' command to import existing account configuration",
|
||||
"Use 'terraform import dynamix_account.<NAME> <ID>' command to import existing account configuration",
|
||||
)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ func AccountDataSourceCheckPresence(ctx context.Context, accountId uint64, c *de
|
||||
|
||||
recordAccount, err := c.CloudAPI().Account().Get(ctx, account.GetRequest{AccountID: accountId})
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("cannot get info about extnet with error: %w", err)
|
||||
return nil, fmt.Errorf("cannot get info about account with error: %w", err)
|
||||
}
|
||||
|
||||
tflog.Info(ctx, "AccountDataSourceCheckPresence: response from CloudAPI().Account().Get",
|
||||
|
||||
Reference in New Issue
Block a user