diff --git a/.github/workflows/automated-publish.yaml b/.github/workflows/automated-publish.yaml index a56f5041..8e97682f 100644 --- a/.github/workflows/automated-publish.yaml +++ b/.github/workflows/automated-publish.yaml @@ -15,5 +15,6 @@ jobs: APIKEY: ${{ secrets.APIKEY }} TAG_NAME: ${{ github.event.release.tag_name }} run: | + Install-Module Az.ResourceGraph -Force .\Module\build.ps1 Publish-Module -Path .\Module\EnterprisePolicyAsCode -NuGetApiKey $env:APIKEY -Verbose diff --git a/Docs/index.md b/Docs/index.md index ed656574..59449689 100644 --- a/Docs/index.md +++ b/Docs/index.md @@ -3,7 +3,7 @@ Enterprise Azure Policy as Code (EPAC for short) is a number of PowerShell scripts which can be used in CI/CD based system or a semi-automated use to deploy Policies, Policy Sets, Policy Assignments, Policy Exemptions and Role Assignments. It also contains operational scripts to simplify operational tasks. > [!CAUTION] -> Review the Breaking changes in v10.0.0 carefully to avoif issues with your EPAC instance. The changes are [documented here](start-changes.md#breaking-changes-in-v1000). +> Review the Breaking changes in v10.0.0 carefully to avoid issues with your EPAC instance. The changes are [documented here](start-changes.md#breaking-changes-in-v1000). > [!IMPORTANT] > Starting with v8.0.0, Enterprise Policy as Code (EPAC) is tracking the usage using [Customer Usage Attribution](https://learn.microsoft.com/en-us/partner-center/marketplace/azure-partner-customer-usage-attribution). In accordance with Microsoft's privacy policies, you have the right to **opt-out** of this tracking. Please review [Telemetry below](#telemetry-tracking-using-customer-usage-attribution-pid) and [Microsoft Privacy](https://privacy.microsoft.com/en-US/) for more information. diff --git a/Module/EnterprisePolicyAsCode/EnterprisePolicyAsCode.psd1 b/Module/EnterprisePolicyAsCode/EnterprisePolicyAsCode.psd1 index 3cd00442..ecd7334d 100644 --- a/Module/EnterprisePolicyAsCode/EnterprisePolicyAsCode.psd1 +++ b/Module/EnterprisePolicyAsCode/EnterprisePolicyAsCode.psd1 @@ -35,6 +35,17 @@ # Aliases to export from this module AliasesToExport = '' + RequiredModules = @( + @{ + ModuleName = 'Az.Accounts' + ModuleVersion = '2.9.1' + }, + @{ + ModuleName = 'Az.ResourceGraph' + ModuleVersion = '0.13.0' + } + ) + # List of all files packaged with this module FileList = @()