fix: add ignoreChanges and match existing description to prevent OrgUnit update

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
David Soria Parra 2026-02-20 00:09:53 +00:00
commit 09bc0fc0b8

View file

@ -53,9 +53,10 @@ const mcpOrgUnit = new gworkspace.OrgUnit(
'mcp-org-unit',
{
name: 'Model Context Protocol',
description: 'Model Context Protocol',
parentOrgUnitPath: '/',
},
{ import: 'id:03ph8a2z0nc6rsr' }
{ import: 'id:03ph8a2z0nc6rsr', ignoreChanges: ['parentOrgUnitPath', 'description'] }
);
// Provision Google Workspace user accounts for members in roles with provisionUser