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
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,19 @@ Terraform module for deploying infrastructure components to run CometML.
17
17
- Within terraform.tfvars, set your module toggles to enable the desired infrastructure components and set any related inputs
18
18
- Provision the resources: `terraform apply`
19
19
20
+
**A note on state management:**
21
+
- This configuration stores the Terraform state locally by default. To store the state file remotely in S3, a `backend` block can be nested within the `terraform` block inside comet-infrastructure/versions.tf. Below is an example of such a configuration:
22
+
```
23
+
terraform {
24
+
backend "s3" {
25
+
bucket = "mybucket"
26
+
key = "path/to/my/key"
27
+
region = "us-east-1"
28
+
}
29
+
}
30
+
```
31
+
- More on state management in S3 can be found [here](https://developer.hashicorp.com/terraform/language/settings/backends/s3)
0 commit comments