From 475b9000e1da325b6b36a2040f1993550bda3eb0 Mon Sep 17 00:00:00 2001 From: Michal Wasilewski Date: Tue, 17 Oct 2023 15:48:55 +0200 Subject: [PATCH] fix: email field is required Signed-off-by: Michal Wasilewski --- spacelift/resource_user_mapping.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacelift/resource_user_mapping.go b/spacelift/resource_user_mapping.go index eae07d93..abc3bebc 100644 --- a/spacelift/resource_user_mapping.go +++ b/spacelift/resource_user_mapping.go @@ -31,7 +31,7 @@ func resourceUserMapping() *schema.Resource { "invitation_email": { Type: schema.TypeString, Description: "Email of the user. Used for sending an invitation.", - Optional: true, + Required: true, }, "username": { Type: schema.TypeString,