Skip to content

[DTOSS-13125] -Extract assign-arc-app-roles into a dedicated make target - #132

Merged
josielsouzanordcloud merged 1 commit into
mainfrom
DTOSS-13125-assign-arc-app-roles-make-target
Jun 10, 2026
Merged

[DTOSS-13125] -Extract assign-arc-app-roles into a dedicated make target#132
josielsouzanordcloud merged 1 commit into
mainfrom
DTOSS-13125-assign-arc-app-roles-make-target

Conversation

@josielsouzanordcloud

Copy link
Copy Markdown
Contributor

Description

  • Extracts assign_arc_app_roles.sh from the resource-group-init make target into its own assign-arc-app-roles target. The two operations have different lifecycles: resource-group-init is a one-time environment bootstrap, whereas app role assignment must be re-run each time a new Arc machine is onboarded.

  • Reorders the onboarding runbook so Grant API access (Step 3) comes before Trigger Terraform (Step 4).

  • Corrects the prerequisites checklist to reflect that the SPN secret is generated fresh with a 1-day expiry rather than retrieved from Key Vault.

    Test plan

    • Verify make <env> resource-group-init runs the Bicep bootstrap only (no app role assignment)
    • Verify make <env> assign-arc-app-roles assigns the Gateway.Access role to Arc machine managed identities
    • Confirm all documentation cross-links resolve correctly

Jira link

DTOSS-13125

Review notes

Review checklist

  • Check database queries are correctly scoped to current_provider

Separates `assign_arc_app_roles.sh` from `resource-group-init` into its
own `assign-arc-app-roles` make target, as the two operations have
different lifecycles — bootstrap runs once per environment, while app
role assignment must be re-run each time a new Arc machine is onboarded.

Updates onboard-hospital-vm.md to reorder steps so Grant API access
(Step 3) comes before Trigger Terraform (Step 4), matching the
end-to-end deployment diagram. Also corrects the prerequisites checklist
to reflect that the SPN secret is generated fresh with a 1-day expiry
rather than retrieved from Key Vault.
@josielsouzanordcloud
josielsouzanordcloud merged commit bfabd9c into main Jun 10, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants