From 39db6fa5245c5f0d7058d96d7e87877d40c9b0d5 Mon Sep 17 00:00:00 2001 From: Koen de Laat Date: Fri, 20 Sep 2024 12:02:19 +0200 Subject: [PATCH] Fix update of Certificate --- internal/services/iam/service/resource_iam_service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/services/iam/service/resource_iam_service.go b/internal/services/iam/service/resource_iam_service.go index 14c07827..eb54b69d 100644 --- a/internal/services/iam/service/resource_iam_service.go +++ b/internal/services/iam/service/resource_iam_service.go @@ -269,6 +269,7 @@ func resourceIAMServiceUpdate(ctx context.Context, d *schema.ResourceData, m int var s iam.Service s.ID = d.Id() s.ServiceID = d.Get("service_id").(string) + s.Name = d.Get("name").(string) if d.HasChange("token_validity") || d.HasChange("description") { tokenValidity := d.Get("token_validity").(int)