Skip to content

Commit 0071bad

Browse files
committed
Fix webhosting
1 parent fba70f8 commit 0071bad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/services/webhosting/webhosting.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,6 @@ func ResourceWebhosting() *schema.Resource {
230230

231231
return nil
232232
},
233-
EnableLegacyTypeSystemPlanErrors: true,
234-
EnableLegacyTypeSystemApplyErrors: true,
235233
}
236234
}
237235

@@ -325,7 +323,7 @@ func resourceWebhostingRead(ctx context.Context, d *schema.ResourceData, m any)
325323
_ = d.Set("dns_status", webhostingResponse.DNSStatus.String()) //nolint:staticcheck
326324
_ = d.Set("cpanel_urls", flattenHostingCpanelUrls(webhostingResponse.Platform.ControlPanel.URLs))
327325
_ = d.Set("username", webhostingResponse.User.Username)
328-
_ = d.Set("region", string(region))
326+
_ = d.Set("region", webhostingResponse.Region)
329327
_ = d.Set("organization_id", "")
330328
_ = d.Set("project_id", webhostingResponse.ProjectID)
331329

0 commit comments

Comments
 (0)