Skip to content

Commit 34653b9

Browse files
authored
Configure Remote Storage for a Terraform deployment
1 parent 7caa51b commit 34653b9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Terraform/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Last updated: 2025-03-13
3434

3535
- [Overview](#overview)
3636
- [Finding admin_principal_id Using Azure CLI](#finding-admin_principal_id-using-azure-cli)
37+
- [Configure Remote Storage for a Terraform deployment](#configure-remote-storage-for-a-terraform-deployment)
3738
- [How to execute it](#how-to-execute-it)
3839

3940
</details>
@@ -78,6 +79,16 @@ Here is an example value for `admin_principal_id` which is Object ID you retriev
7879
admin_principal_id = "12345678-1234-1234-1234-1234567890ab"
7980
```
8081

82+
## Configure Remote Storage for a Terraform deployment
83+
84+
> To configure remote storage for a Terraform deployment, you need to set up a backend configuration in your Terraform files. This backend configuration specifies where Terraform should store the state file, which keeps track of the resources it manages.
85+
86+
> 1. Create an Azure Storage Account: <br/>
87+
> - Go to the Azure portal and create a new storage account (if you don't have one already). <br/>
88+
> - Note down the storage account name and the access key. <br/>
89+
> 2. Create a Storage Container: Within the storage account, create a new container to store the Terraform state file.
90+
> 3. Configure Terraform Backend: In your Terraform configuration file (e.g., [remote-storage.tf](./src/remote-storage.tf), add the backend configuration for Azure Blob Storage.
91+
8192
## How to execute it
8293

8394
```mermaid

0 commit comments

Comments
 (0)