Skip to content

Commit 48d82f0

Browse files
authored
Fix Azure exocompute bug (#218)
The polaris_azure_excompute resource incorrectly called the AWS GraphQL endpoint when mapping an Azure cloud account.
1 parent 482ab1e commit 48d82f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/provider/resource_azure_exocompute.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func azureCreateExocompute(ctx context.Context, d *schema.ResourceData, m interf
165165
if err != nil {
166166
return diag.FromErr(err)
167167
}
168-
err = exocompute.Wrap(client).MapAWSCloudAccount(ctx, accountID, hostCloudAccountID)
168+
err = exocompute.Wrap(client).MapAzureCloudAccount(ctx, accountID, hostCloudAccountID)
169169
if err != nil {
170170
return diag.FromErr(err)
171171
}

0 commit comments

Comments
 (0)