Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureOpRoleRaw ¶
AzureOpRoleRaw is the un-rendered payload for a standard operation role.
func ExtractAzureStandardRolesRaw ¶
func ExtractAzureStandardRolesRaw(appCfg *app.AppConfig) (provision, maintenance, deprovision AzureOpRoleRaw)
ExtractAzureStandardRolesRaw returns the grants for the standard provision/maintenance/deprovision operation roles.
type AzureRoleRaw ¶
type AzureRoleRaw struct {
Name string
Actions []string
BuiltInRoles []string
EnabledInStack sql.NullBool
}
AzureRoleRaw is the un-rendered per-role payload the stack SDK consumes for break-glass and custom Azure roles.
Azure splits a role's grants across two axes, and the Terraform module treats them differently: Actions become a subscription-scoped custom role definition, BuiltInRoles become direct assignments at resource-group scope.
func ExtractAzureRolesRaw ¶
func ExtractAzureRolesRaw(roles []app.AppAWSIAMRoleConfig) []AzureRoleRaw
ExtractAzureRolesRaw returns the raw payload for a list of break-glass or custom Azure roles, skipping non-Azure and empty roles.