Skip to content

Commit 492ade6

Browse files
author
Felix Zieger
committed
docs: add enrollment account step
1 parent 62553b4 commit 492ade6

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

README.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ To run this module, you need the following:
1111
- Privileged Role Administrator
1212
- Cloud Application Administrator
1313
- Application Administrator
14-
- [Terraform installed](https://learn.hashicorp.com/tutorials/terraform/install-cli)
15-
- [Azure CLI installed](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)
14+
- [Terraform installed](https://learn.hashicorp.com/tutorials/terraform/install-cli) (already installed in Azure Portal)
15+
- [Azure CLI installed](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli) (already installed in Azure Portal)
1616

1717
[^1]: Tenant wide admin consent must be granted for a successful meshPlatform setup. See [Azure public documentation](https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/grant-admin-consent#prerequisites) for more details.
1818

@@ -28,27 +28,21 @@ For an overview of the module structure, refer to [generated terraform docs](./T
2828

2929
2. Open a cloud shell.
3030

31-
3. Create a directory and change into it
31+
3. Download the example `main.tf` and an `output.tf` files.
3232

3333
```sh
34-
mkdir terraform-azure-meshplatform
35-
cd terraform-azure-meshplatform
34+
# Downloads main.tf and output.tf files into ~/terraform-azure-meshplatform
35+
wget https://raw.githubusercontent.com/meshcloud/terraform-azure-meshplatform/main/examples/basic-azure-integration/main.tf -P ~/terraform-azure-meshplatform
36+
wget https://raw.githubusercontent.com/meshcloud/terraform-azure-meshplatform/main/examples/basic-azure-integration/outputs.tf -P ~/terraform-azure-meshplatform
3637
```
3738

38-
4. Create a `main.tf` and an `output.tf` files in the created directory that references this module
39-
> See [Example Usages](#example-usages)
39+
4. Open `~/terraform-azure-meshplatform/main.tf` with a text editor. Modify the module variables and Terraform state backend settings in the file.
4040

41-
```sh
42-
wget https://raw.githubusercontent.com/meshcloud/terraform-azure-meshplatform/main/examples/basic-azure-integration/main.tf -O ~/terraform-azure-meshplatform/main.tf
43-
44-
wget https://raw.githubusercontent.com/meshcloud/terraform-azure-meshplatform/main/examples/basic-azure-integration/outputs.tf -O ~/terraform-azure-meshplatform/outputs.tf
45-
```
46-
47-
Fill them with your inputs and Terraform state backend settings
48-
49-
5. Run
41+
5. Execute the module.
5042

5143
```sh
44+
# Changes into ~/terraform-azure-meshplatform and applies terraform
45+
cd ~/terraform-azure-meshplatform
5246
terraform init
5347
terraform apply
5448
```
@@ -60,6 +54,10 @@ For an overview of the module structure, refer to [generated terraform docs](./T
6054
terraform output -json
6155
```
6256

57+
7. Grant admin consent to the newly created Replicator Service Principal. See the terraform output on how to do this.
58+
59+
8. Grant access on the enrollment account as described in the [meshcloud public docs](https://docs.dev.meshcloud.io/docs/meshstack.how-to.integrate-meshplatform-azure-manually.html#set-up-subscription-provisioning).
60+
6361
### Using CLI
6462

6563
1. Login with az CLI

0 commit comments

Comments
 (0)