Skip to content

Commit 22461e1

Browse files
ishabakehmeshkodiak[bot]
authored andcommitted
feat: update the example's comment and backend conf
1 parent c01460d commit 22461e1

File tree

1 file changed

+13
-4
lines changed
  • examples/basic-azure-integration

1 file changed

+13
-4
lines changed

examples/basic-azure-integration/main.tf

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,26 @@
55
# Remove/comment the backend block below if you are only testing the module.
66
# Please be aware that you cannot destroy the created resources via terraform if you lose the state file.
77
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"
1115
}
1216
}
1317

18+
provider "azurerm" {
19+
# Configuration options
20+
features {}
21+
}
22+
1423
module "meshplatform" {
1524
source = "meshcloud/meshplatform/azure"
1625

1726
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
1928

2029
# If you want to integrate your AAD as SSO for meshStack, set the below value to true to create the necessary Application.
2130
idplookup_enabled = false

0 commit comments

Comments
 (0)