Skip to content

Commit

Permalink
Fix Azure exocompute bug (#218)
Browse files Browse the repository at this point in the history
The polaris_azure_excompute resource incorrectly called the AWS
GraphQL endpoint when mapping an Azure cloud account.
  • Loading branch information
johan3141592 authored Feb 6, 2025
1 parent 482ab1e commit 48d82f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/resource_azure_exocompute.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func azureCreateExocompute(ctx context.Context, d *schema.ResourceData, m interf
if err != nil {
return diag.FromErr(err)
}
err = exocompute.Wrap(client).MapAWSCloudAccount(ctx, accountID, hostCloudAccountID)
err = exocompute.Wrap(client).MapAzureCloudAccount(ctx, accountID, hostCloudAccountID)
if err != nil {
return diag.FromErr(err)
}
Expand Down

0 comments on commit 48d82f0

Please sign in to comment.