Skip to content

ulysesramos/az-core-policy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subscription Bootstrap Steps

  1. Create Subscription
  2. Create AAD
  3. Create Management Group & add subscription
  4. Create SP & save output
    1. az ad sp create-for-rbac --name "$($env:sp_name)" --sdk-auth --role contributor --scopes "$($env:sp_scope)"
  5. Add Management Group Reader & Resource Policy Contributor to SP on root MG
  6. Create GitHub Repository
  7. Add secrets to GitHub Repo
    1. Add 'TEST' GitHub Environment as well (Enterprise licensing only)
  8. Create Terraform backend Azure resources
  9. Notes
    1. If using PS AZ module, login with - Select-AzSubscription -Tenant $env:tenant_id -Subscription $env:sub_id
    2. Can use the bootstrap workflow, but needs merged into main to work well

About

Contains Azure Policy for Enterprise tenants

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors