Terraform provider backend configuration #711
-
Hi, Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
For the Terraform provider Nitric generates a fairly standard Terraform project, so you can manage the state just as you normally would with Terraform |
Beta Was this translation helpful? Give feedback.
-
@andreaspoldi this has been released in Configuration can be made in the nitric stack file and looks something like: As an example an s3 backend can be configured like so: backend:
s3:
bucket: "mybucket"
key: "path/to/my/key"
region: "us-east-1" This config is passed through directly the cdktf so any options valid for https://developer.hashicorp.com/terraform/language/backend/s3 should work. Let me know if you have any issues with that config. |
Beta Was this translation helpful? Give feedback.
@andreaspoldi this has been released in
v1.16.10
. Current supported backends ares3
andgcs
.Configuration can be made in the nitric stack file and looks something like:
As an example an s3 backend can be configured like so:
This config is passed through directly the cdktf so any options valid for https://developer.hashicorp.com/terraform/language/backend/s3 should work.
Let me know if you have any issues with that config.