Skip to content

Commit

Permalink
SCALRCORE-24801 Recreate webhook resource on account argument update.
Browse files Browse the repository at this point in the history
  • Loading branch information
DayS1eeper committed Apr 18, 2023
1 parent c0a96fb commit 78a2026
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scalr/resource_scalr_webhook.go
Expand Up @@ -4,11 +4,12 @@ import (
"context"
"errors"
"fmt"
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
"github.com/scalr/go-scalr"
"log"
)

func resourceScalrWebhook() *schema.Resource {
Expand Down Expand Up @@ -131,6 +132,7 @@ func resourceScalrWebhook() *schema.Resource {
Optional: true,
Computed: true,
DefaultFunc: webhookAccountIDDefaultFunc,
ForceNew: true,
},

"workspace_id": {
Expand Down

0 comments on commit 78a2026

Please sign in to comment.