-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a Bicep implementation and remove bash scripts (#425)
- Loading branch information
Showing
126 changed files
with
19,789 additions
and
3,883 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
name: validate-bicep | ||
on: | ||
pull_request: | ||
paths: | ||
- '**.bicep' | ||
workflow_dispatch: | ||
paths: | ||
- '**.bicep' | ||
jobs: | ||
validate-bicep: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
az bicep build --file src/bicep/mlz.bicep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
name: validate-build-bicep | ||
on: | ||
push: | ||
paths: | ||
- '**.bicep' | ||
branches: | ||
- bicep | ||
jobs: | ||
validate-build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
az bicep build --file src/bicep/mlz.bicep --outfile src/bicep/mlz.json | ||
git add src/bicep/mlz.json | ||
git commit -m "GitHub Action: Build Bicep to JSON" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Command-Line Deployment | ||
|
||
The steps in this article assume the following pre-requisites for command-line deployments: | ||
|
||
* Follow the Mission LZ [Getting Started](./getting-started.md) steps. | ||
|
||
## Step-by-step | ||
|
||
1. Follow the [steps to open the `.devcontainer`](../.devcontainer/README.md) as recommended (or start a local BASH shell with the prerequisites installed) | ||
|
||
> `vscode@missionlz-dev:/workspaces/missionlz$` is the root working directory for the BASH shell in the `.devcontainer` | ||
1. Deploy with Bicep (recommended) | ||
1. [Deploy](../src/bicep/README.md#Azure-CLI) | ||
1. [Customize deployment](../src/bicep/README.md#Deploying-to-Other-Clouds) | ||
|
||
1. Or, deploy with Terraform | ||
1. [Apply](../src/terraform/README.md) | ||
1. [Customize deployment](../src/terraform/README.md#Deploying-to-Other-Clouds) | ||
|
||
See the development container [README](../.devcontainer/README.md) for more details on building and running the container. | ||
|
||
## Helpful Links | ||
|
||
For more endpoint mappings between AzureCloud and AzureUsGovernment: <https://docs.microsoft.com/en-us/azure/azure-government/compare-azure-government-global-azure#guidance-for-developers/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Getting Started | ||
|
||
## Prerequisites | ||
|
||
* Current version of the [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli) | ||
* An Azure Subscription where you have ['Owner' RBAC permissions](https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#owner) | ||
|
||
## Concepts | ||
|
||
### Command Line Deployments | ||
|
||
You can deploy Mission LZ from your workstation using the command line. Some other configurations are possible, but this is the simplest path. | ||
|
||
We highly recommend deploying from the Development Container since it comes packaged with all the right versions of the dependencies you'll need. | ||
|
||
### Use the Development Container for Command Line Deployments | ||
|
||
If you are planning to deploy from your local workstation, we recommend using the VS Code development container specified in this repository. The container includes all the tools and pre-requisites, but you have to build and run the container. If you have Docker Desktop installed, then VS Code makes the rest of it easy. See the [README](../.devcontainer/README.md) document in the `.devcontainer` folder for details. | ||
|
||
See [Using the devcontainer](./using-the-devcontainer.md) for configuring your workstation with the development container. | ||
|
||
If you want to deploy from the command line on your workstation but do not want to use the development container, take a look at the [`Dockerfile`](../.devcontainer/Dockerfile) and the [`devcontainer.json`](../.devcontainer/Dockerfile) file for examples on how to configure your environment. | ||
|
||
## Next steps | ||
|
||
### 1. Deploy the Hub and Spoke | ||
|
||
With the environment pre-requisites out of the way, deploy the hub and spoke using the [Command Line Deployment](./command-line-deployment.md) for step-by-step instructions: | ||
|
||
* [Command Line Deployment](./command-line-deployment.md) | ||
|
||
### 2. Deploy Your Workloads | ||
|
||
Now that you have the core hub and spoke tiers deployed (Hub, Tier 0, Tier 1, Tier 2), the next step is to deploy one or more workload tiers. Misson LZ supports multiple workload tiers. See [Workload Deployment](./workload-deployment.md) for details and step-by-step instructions: | ||
|
||
* [Workload Deployment](./workload-deployment.md) | ||
|
||
### 3. Manage Your Deployment | ||
|
||
Once you have a lab deployment of Mission Landing Zone established and have decided to move forward, you will want to start planning your production deployment. We recommend reviewing the following pages during your planning phase. | ||
|
||
* [Using Management Groups with Mission Landing Zone](./management-groups.md) |
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.