Devdeer.Caf.psd1

@{
    RootModule            = 'Devdeer.Caf.psm1'
    GUID                  = '44dfd2a4-e738-47a5-a08f-a41aa6124e2b'
    Author                = 'DEVDEER'
    CompanyName           = 'DEVDEER GmbH'
    Copyright             = '(c) 2024 DEVDEER GmbH. All rights reserved.'
    Description           = 'This module contains the functions to manage and prepare Azure Tenants in a CAF conform way.'
    DefaultCommandPrefix  = 'Caf'
    ModuleVersion         = '0.8.4'
    FunctionsToExport     = @(
        'Get-Context',
        'Use-Context',
        'Initialize-Subscriptions',
        'Initialize-Subscription',
        'Set-ServicePrincipal',
        'Initialize-ServicePrincipals',
        'Initialize-DeploymentSpGroup',
        'Use-ServicePrincipal',
        'New-Deployment',
        'Deploy-PolicyAssets',
        'Clear-PolicyAssets',
        'Start-Scoped',
        'Start-PimGroup',
        'Stop-PimGroup',
        'Start-PimRole',
        'Stop-PimRole',
        'Show-NamingConvention',
        'Approve-PimRole',
        'New-SqlFirewallRule',
        'Clear-AllSqlFirewallRules',
        'Restore-Locks',
        'Remove-Locks'
    )
    CmdletsToExport       = @(

    )
    PrivateData           = @{
        PSData = @{
            Tags         = @(
                'DEVDEER',
                'Azure',
                'Az',
                'ARM',
                'Subscription',
                'Tenant',
                'CAF')
            # LicenseUri = ''
            ProjectUri   = 'https://devdeer.com'
            IconUri      = 'https://devdeer.blob.core.windows.net/shared/devdeer/logo_squared_240_bluelight.png'
            ReleaseNotes = @"
- CAF IaC assets are now deployed with the `Install-CafAssets` function.
- CAF initialization of management group subscriptions is also now supported with a special deployment under the same Initialize-CafSubscriptions command.
- Management assets are now deployed with the `Install-ManagementAssets` function.
- New private functions Initialize-SubscriptionUsingBicep and Initialize-SubscriptionUsingTerraform to initialize a subscription with the respective deployment technology.
- New private function to build and format the naming conventions called Format-NamingConvention.
- New-CafDeployment module updated to support handling the .bicepparam file for the bicep deployments.
- New private function Format-NamingConvention to build the naming convention of all CAF assets.
- New Show-CafNamingConvention function to show the naming convention of all CAF assets.
- Updated Initalize-CafDeploymentSpGroup to respect custom naming convention feature to build and update the security group.
- Updated Initalize-CafServicePrincipals to respect custom naming convention feature to create and initialize the service principal.
- Updated Set-CafServicePrincipal to respect custom naming convention feature to find and login to the right service principal.
- Updated Use-CafServicePrincipal to respect custom naming convention feature to find and login to the right service principal.
- Updated Get-ManagementKeyVault to support the new custom naming convention feature.

"@

        }
    }
    RequiredModules       = @(

    )
    #PowerShellVersion = '7.1'
    PowerShellHostName    = 'ConsoleHost'
    PowerShellHostVersion = '7.1'
    # DotNetFrameworkVersion = ''
    # CLRVersion = ''
    # ProcessorArchitecture = ''
    # RequiredAssemblies = @()
    # ScriptsToProcess = @()
    # TypesToProcess = @()
    # FormatsToProcess = @()
    # NestedModules = @()
    VariablesToExport     = '*'
    AliasesToExport       = @()
    # DscResourcesToExport = @()
    # ModuleList = @()
    # FileList = @()
    # HelpInfoURI = ''
}