Skip to content

Commit 8932bcd

Browse files
committed
docs(m365): add instruction for setting environment in provider.tf
1 parent 632582a commit 8932bcd

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

m365/README.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ It is expected that this code is deployed by a user with administrator privledge
5555
... Set `contact_emails` to administrators' emails and set `resource_group_name` to the resource group to create and deploy infrastructure in
5656
... Review the defaults used for optional variables in <<terraform-variables>>. Some of these may need to be modified depending on your environment
5757
.. In `provider.tf`, replace `<YOUR_SUBSCRIPTION_UUID>` with the Subscription ID you'll be deploying in. The subscription ID can be found in the console, or as the `id` field output by the command `az account show`
58+
.. If you are deploying in GCC High, update `provider.tf` to replace the two instances of `environment = "public"` with `environment = "usgovernment"`
5859
.. (Optional, but recommended) Modify the `provider.tf` file to configure Terraform to store state in Azure. See external https://developer.hashicorp.com/terraform/language/backend/azurerm[documentation].
5960
. Run terraform
6061
.. In your `<myenv>` directory, Run `terraform init`. This only needs to be done once unless providers are updated

m365/terraform/env/example/provider.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ terraform {
1717
provider "azurerm" {
1818
features {}
1919
subscription_id = "<YOUR_SUBSCRIPTION_UUID>"
20+
environment = "public"
2021
}
2122

2223
provider "azuread" {
23-
24+
environment = "public"
2425
}

0 commit comments

Comments
 (0)