aztfmod / rovergo

The next version of Rover, the command line tool for Azure CAF Landingzones. Developed in Go
MIT License
10 stars 7 forks source link

Implement check_subscription_required_role #58

Closed benc-uk closed 3 years ago

benc-uk commented 3 years ago

Function in functions.sh of rover v1

Checks role with role=$(az role assignment list --role "${1}" --assignee ${TF_VAR_logged_user_objectId} --include-inherited --include-groups)

This should be done as part of runLaunchpadInit (probably)

This is run for LAUNCHPAD ONLY*