Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bootstraps command variations #271

Merged
merged 1 commit into from
Jul 1, 2022
Merged

Add bootstraps command variations #271

merged 1 commit into from
Jul 1, 2022

Conversation

LaurentLesle
Copy link
Contributor

Create only the azure AD application (global admin privilege)

az login --allow-no-subscriptions
org_name=contoso

rover -bootstrap \
  -aad-app-name ${org_name}-platform-landing-zones

Create or Read (if no global admin privilege) and register the details as secret in Github

Will register the secrets to support OIDC connect from Github actions.

az login
org_name=contoso

rover -bootstrap \
  -aad-app-name ${org_name}-platform-landing-zones \
  -gitops-pipelines github

All in one

Create or check the Azure bootstrap app id exist
register the secrets for Github Actions deployment
Set the deployment mode to multi subscriptions

az login
org_name=contoso

rover -bootstrap \
  -aad-app-name ${org_name}-platform-landing-zones \
  -gitops-pipelines github \
  -gitops-number-runners 4 \
  -bootstrap-script '/tf/caf/landingzones/templates/platform/deploy_platform.sh' \
  -playbook '/tf/caf/landingzones/templates/platform/caf_platform_prod_nonprod.yaml' \
  -subscription-deployment-mode multi_subscriptions \
  -sub-management www-guid \
  -sub-connectivity xxx-guid \
  -sub-identity yyy-guid \
  -sub-security zzz-guid

Copy link
Member

@arnaudlh arnaudlh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@LaurentLesle LaurentLesle merged commit 6bdbfd0 into main Jul 1, 2022
@LaurentLesle LaurentLesle deleted the bootstrap_multisub branch July 1, 2022 09:38
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.

2 participants