diff --git a/dome9/resource_dome9_role.go b/dome9/resource_dome9_role.go index 202bcf33..15be3085 100644 --- a/dome9/resource_dome9_role.go +++ b/dome9/resource_dome9_role.go @@ -84,6 +84,10 @@ func resourceRoleCreate(d *schema.ResourceData, meta interface{}) error { } d.SetId(strconv.Itoa(role.ID)) + if _, err := d9Client.role.Update(d.Id(), req); err != nil { + return err + } + return resourceRoleRead(d, meta) }