File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
examples/basic-azure-integration Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 5
5
# Remove/comment the backend block below if you are only testing the module.
6
6
# Please be aware that you cannot destroy the created resources via terraform if you lose the state file.
7
7
terraform {
8
- backend "gcs" {
9
- prefix = " meshplatforms/azure"
10
- bucket = " my-terraform-states"
8
+ backend "azurerm" {
9
+ use_azuread_auth = true
10
+ tenant_id = " aadTenantId"
11
+ subscription_id = " subscriptionId"
12
+ resource_group_name = " cf-tfstates-iqw0x"
13
+ storage_account_name = " tfstatesiqw0x"
14
+ container_name = " tfstates"
11
15
}
12
16
}
13
17
18
+ provider "azurerm" {
19
+ # Configuration options
20
+ features {}
21
+ }
22
+
14
23
module "meshplatform" {
15
24
source = " meshcloud/meshplatform/azure"
16
25
17
26
service_principal_name_suffix = " <UNIQUE_NAME>"
18
- mgmt_group_name = " <MANAGEMENT_GROUP_NAME>|<MANAGEMENT_GROUP_UUID> "
27
+ mgmt_group_name = " <MANAGEMENT_GROUP_NAME>|<MANAGEMENT_GROUP_ID> " # Either the Management group Name or ID
19
28
20
29
# If you want to integrate your AAD as SSO for meshStack, set the below value to true to create the necessary Application.
21
30
idplookup_enabled = false
You can’t perform that action at this time.
0 commit comments