From f352f87999a3ea4f602eb3ecfd69e11ae392613b Mon Sep 17 00:00:00 2001 From: Jared Holgate Date: Fri, 13 Dec 2024 13:40:42 +0000 Subject: [PATCH 1/2] feat: move bootstrap examples --- .../.config/ALZ-Powershell-Auto.config.json | 6 ++- .../bootstrap/inputs-azure-devop.yaml | 46 +++++++++++++++++++ .../examples/bootstrap/inputs-github.yaml | 43 +++++++++++++++++ .../examples/bootstrap/inputs-local.yaml | 36 +++++++++++++++ 4 files changed, 129 insertions(+), 2 deletions(-) create mode 100644 accelerator/examples/bootstrap/inputs-azure-devop.yaml create mode 100644 accelerator/examples/bootstrap/inputs-github.yaml create mode 100644 accelerator/examples/bootstrap/inputs-local.yaml diff --git a/accelerator/.config/ALZ-Powershell-Auto.config.json b/accelerator/.config/ALZ-Powershell-Auto.config.json index e85d68158..738dec904 100644 --- a/accelerator/.config/ALZ-Powershell-Auto.config.json +++ b/accelerator/.config/ALZ-Powershell-Auto.config.json @@ -23,7 +23,8 @@ "parameters", "README.md", "ALZ-Powershell.config.json", - "test_modules/managementGroup" + "test_modules/managementGroup", + "examples" ], "on_demand_folders" : [ { @@ -815,7 +816,8 @@ "china", "parameters", "README.md", - "ALZ-Powershell.config.json" + "ALZ-Powershell.config.json", + "examples" ], "on_demand_folders" : [ { diff --git a/accelerator/examples/bootstrap/inputs-azure-devop.yaml b/accelerator/examples/bootstrap/inputs-azure-devop.yaml new file mode 100644 index 000000000..1e88b1751 --- /dev/null +++ b/accelerator/examples/bootstrap/inputs-azure-devop.yaml @@ -0,0 +1,46 @@ +--- +# For detailed instructions on using this file, visit: +# https://github.com/Azure/ALZ-PowerShell-Module/wiki/%5BUser-Guide%5D-Quick-Start-Phase-2-Azure-DevOps#2211-azure-devops-with-bicep + +# Basic Inputs +iac_type: "bicep" +bootstrap_module_name: "alz_azuredevops" +starter_module_name: "complete" + +# Shared Interface Inputs +bootstrap_location: "" +starter_locations: [""] +root_parent_management_group_id: "" +subscription_id_management: "" +subscription_id_identity: "" +subscription_id_connectivity: "" + +# Bootstrap Inputs +azure_devops_personal_access_token: "" +azure_devops_agents_personal_access_token: "" +azure_devops_organization_name: "" +use_separate_repository_for_templates: true +bootstrap_subscription_id: "" +service_name: "alz" +environment_name: "mgmt" +postfix_number: 1 +azure_devops_use_organisation_legacy_url: false +azure_devops_create_project: true +azure_devops_project_name: "" +use_self_hosted_agents: true +use_private_networking: true +allow_storage_access_from_my_ip: false +apply_approvers: [""] +create_branch_policies: true + +# Complete Starter Module Specific Variables +# (Details: https://github.com/Azure/ALZ-PowerShell-Module/wiki/%5BUser-Guide%5D-Starter-Module-Bicep-Complete) +Prefix: "alz" +Environment: "live" +networkType: "hubNetworking" +SecurityContact: "" + +# Advanced Inputs +bootstrap_module_version: "latest" +starter_module_version: "latest" +#output_folder_path: "/accelerator/output" diff --git a/accelerator/examples/bootstrap/inputs-github.yaml b/accelerator/examples/bootstrap/inputs-github.yaml new file mode 100644 index 000000000..68890ce1c --- /dev/null +++ b/accelerator/examples/bootstrap/inputs-github.yaml @@ -0,0 +1,43 @@ +--- +# For detailed instructions on using this file, visit: +# https://github.com/Azure/ALZ-PowerShell-Module/wiki/%5BUser-Guide%5D-Quick-Start-Phase-2-GitHub#2221-github-with-bicep + +# Basic Inputs +iac_type: "bicep" +bootstrap_module_name: "alz_github" +starter_module_name: "complete" + +# Shared Interface Inputs +bootstrap_location: "" +starter_locations: [""] +root_parent_management_group_id: "" +subscription_id_management: "" +subscription_id_identity: "" +subscription_id_connectivity: "" + +# Bootstrap Inputs +github_personal_access_token: "" +github_runners_personal_access_token: "" +github_organization_name: "" +use_separate_repository_for_templates: true +bootstrap_subscription_id: "" +service_name: "alz" +environment_name: "mgmt" +postfix_number: 1 +use_self_hosted_runners: true +use_private_networking: true +allow_storage_access_from_my_ip: false +apply_approvers: [""] +create_branch_policies: true + +# Starter Module Specific Variables +# (Details: https://github.com/Azure/ALZ-PowerShell-Module/wiki/%5BUser-Guide%5D-Starter-Module-Bicep-Complete) +Prefix: "alz" +Environment: "live" +networkType: "hubNetworking" +SecurityContact: "" + +# Advanced Inputs +bootstrap_module_version: "latest" +starter_module_version: "latest" +#output_folder_path: "/accelerator/output" diff --git a/accelerator/examples/bootstrap/inputs-local.yaml b/accelerator/examples/bootstrap/inputs-local.yaml new file mode 100644 index 000000000..c011d3399 --- /dev/null +++ b/accelerator/examples/bootstrap/inputs-local.yaml @@ -0,0 +1,36 @@ +--- +# For detailed instructions on using this file, visit: +# https://github.com/Azure/ALZ-PowerShell-Module/wiki/%5BUser-Guide%5D-Quick-Start-Phase-2-Local#2231-local-file-system-with-bicep + +# Basic Inputs +iac_type: "bicep" +bootstrap_module_name: "alz_local" +starter_module_name: "complete" + +# Shared Interface Inputs +bootstrap_location: "" +starter_locations: [""] +root_parent_management_group_id: "" +subscription_id_management: "" +subscription_id_identity: "" +subscription_id_connectivity: "" + +# Bootstrap Inputs +target_directory: "" +create_bootstrap_resources_in_azure: "true" +bootstrap_subscription_id: "" +service_name: "alz" +environment_name: "mgmt" +postfix_number: 1 + +# Starter Module Specific Variables +# (Details: https://github.com/Azure/ALZ-PowerShell-Module/wiki/%5BUser-Guide%5D-Starter-Module-Bicep-Complete) +Prefix: "alz" +Environment: "live" +networkType: "hubNetworking" +SecurityContact: "" + +# Advanced Inputs +bootstrap_module_version: "latest" +starter_module_version: "latest" +#output_folder_path: "/accelerator/output" From e33d3da57b1601b1545787e0168dc056c3e31d14 Mon Sep 17 00:00:00 2001 From: Jared Holgate Date: Fri, 13 Dec 2024 13:42:17 +0000 Subject: [PATCH 2/2] Fix spelling mistake --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b709a7b3a..0575f0091 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Detailed information about how to use, deploy and extend artifacts found in this - [Network Topology: Virtual WAN][wiki_deployment_flow_vwan] - [Consumer Guide][wiki_consumer_guide] - [Accelerator][wiki_accelerator] - - [Azure Montior Baseline Alerts][wiki_amba] + - [Azure Monitor Baseline Alerts][wiki_amba] - [Known Issues][wiki_known_issues] - [Frequently Asked Questions][wiki_faq] - [How Does ALZ-Bicep Implement Azure Policies?][wiki_policy_deep_dive]