andresguisado / azure-subscriptionator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure Subscriptionator

Setup a pipeline that will make it possible to source control and deploy everything that is needed to create a subscription and securely roll it out to a dev team.

Definitions:

  • Management Group
  • Role Definition
  • Policy Definition
  • Policy Set Definition
  • Azure Blueprint Definition
  • AAD Group
  • Subscription

Assignments:

  • Assign Subscription to Management Group
  • Role Assignment (to AAD group, AAD User, AAD application)
  • Policy Assignment (to subscription and management group)
  • Policy Set Assignment (to subscription and management group)
  • Azure Blueprint Assignment (to subscription)

Status

Alpha. Code is still being implemented.

LICENSE

Apache 2.0 - see LICENSE.txt

Best practices

Framework limitations

  • Role assignment: will be assigned to a group and not to an individual or application.
  • Role assignment: will be applied at management group or subscription level to an AAD Group.
  • Role assignment: only supports assignment against management group and subscription, so can't be applied directly against other providers. Possible work around is to abstracted this by using RoleDefinition that is applied at management group or subscription
  • Auto publish of Azure Blueprint will generate a release version name based on current date time.
  • Subscription: Azure api only allows EA Azure customers to create subscriptions programmatically. One day the framework might provide browser automation or direct api usage equivalent to do so. https://docs.microsoft.com/en-us/azure/azure-resource-manager/programmatically-create-subscription?tabs=rest

Framework features

About

License:Apache License 2.0


Languages

Language:PowerShell 100.0%