Azure / ALZ-Bicep

This repository contains the Azure Landing Zones (ALZ) Bicep modules that help deliver and deploy the Azure Landing Zone conceptual architecture in a modular approach. https://aka.ms/alz/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bicep Landing Zone - .env

jzryk8 opened this issue · comments

What happened? Provide a clear and concise description of the bug, including deployment details.

Have downloaded the Landing Zone Accelerator (Bicep) all good. However the Pipelines all refer to an .env file that I cannot see anywhere, where is this and what is meant to be in there variable wise ? - sorry newbie.

Please provide the correlation id associated with your error or bug.

xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

What was the expected outcome?

No response

Relevant log output

No response

Check previous GitHub issues

  • I have searched the issues for this item and found no duplicate

Code of Conduct

  • I agree to follow this project's Code of Conduct

Hi @jzryk8, no worries at all! Not sure if you've seen this documentation, but the process for provisioning your file structure if using the Accelerator is outlined here:.

Essentially, there is an ALZ-PowerShell-Module and associated cmdlet that you'll use to provision the file structure necessary to run the pipelines/workflows. Your .env file will be provisioned automatically within the root directory, and you shouldn't have to download any files manually from the GitHub repository page.

Will close for now, but if you have any other questions feel free to reopen.

The documentation is unclear on how to create these initial subscriptions that the Accelerator PowerShell script asks for. Others seem to be confused as well: https://www.reddit.com/r/AZURE/comments/16jemms/azure_landing_zone_bicep_accelerator_explain/

If the answer is to manually create the subscriptions, that seems to defeat much of the purpose of the accelerator. In other words, I would like to be able to use the accelerator with an empty root management group and a single global admin who has the proper permissions.

Hey @kardiojack, agreed, we could add a bit more clarity around subscription creation. I've created an issue based upon your comment for tracking the documentation changes needed.

In the meantime, take a look at the Bicep Subscription Vending documentation and associated Bicep module as it should hopefully provide some additional context.

Thanks for your help! After creating the subscriptions manually, the accelerator seemed to work great--definitely a useful and needed tool your team is working on.