Skip to content

Terraform provider backend configuration #711

Answered by tjholm
andreaspoldi asked this question in Q&A
Discussion options

You must be logged in to vote

@andreaspoldi this has been released in v1.16.10. Current supported backends are s3 and gcs.

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.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@andreaspoldi
Comment options

@jyecusch
Comment options

Comment options

You must be logged in to vote
1 reply
@andreaspoldi
Comment options

Answer selected by andreaspoldi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants