From d02998045f184f50fe68a5c2a1902c2993d9bcbd Mon Sep 17 00:00:00 2001 From: Stuart Auld Date: Wed, 30 Nov 2022 14:29:13 +1100 Subject: [PATCH] Don't set form_id since this causes a dirty plan where they are auto-generated (#156) --- fusionauth/resource_fusionauth_form.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/fusionauth/resource_fusionauth_form.go b/fusionauth/resource_fusionauth_form.go index 4a7c3da..b2c10c7 100644 --- a/fusionauth/resource_fusionauth_form.go +++ b/fusionauth/resource_fusionauth_form.go @@ -162,9 +162,6 @@ func buildForm(data *schema.ResourceData) fusionauth.Form { } func buildResourceDataFromForm(data *schema.ResourceData, f fusionauth.Form) diag.Diagnostics { - if err := data.Set("form_id", f.Id); err != nil { - return diag.Errorf("form.form_id: %s", err.Error()) - } if err := data.Set("data", f.Data); err != nil { return diag.Errorf("form.data: %s", err.Error()) }