You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
* Local Terraform state is now default implementation.
* Added import/export zip functions to makefile for local tfstate, cerds and tfvars.
* Added Documentation to prerequisites explaining Terraform State stores and the import and export commands.
Copy file name to clipboardexpand all lines: docs/content/en/prerequisites/common.md
+24
Original file line number
Diff line number
Diff line change
@@ -41,3 +41,27 @@ az feature show --namespace "<NAME_SPACE>" --name "<Feature_Flag>"
41
41
```
42
42
43
43
Read about [setting up Azure DNS]({{< relref "azure-dns.md" >}}) in the next section.
44
+
45
+
### Terraform State Managment
46
+
47
+
This reference architecture uses Terraform's state store to manage the infrastructure and configuration lifecycle.
48
+
49
+
This state is used by Terraform to map real world resources to your configuration, keep track of metadata, and to improve performance for large infrastructures.
50
+
51
+
Ideally the state store should be stored and accessed remotely, but for simplicity for this blueprint Terraform's state store locally in files named `terraform.tfstate`.
52
+
53
+
#### Export Terraform State Store, Terraform Varable and Certs
54
+
55
+
Runing this command will generate a `export.zip` in the root on the project, while you can right click on and download if on Github Codespaces.
56
+
57
+
```bash
58
+
$ make state-export
59
+
```
60
+
61
+
#### Import Terraform State Store, Terraform Varable and Certs
62
+
63
+
Importing a zip file called `import.zip` in the root on the project.
0 commit comments