Answer the question
In order to leave comments, you need to log in
How to add remote file storage?
terraform {
backend "s3" {
bucket
= "terraformik"
key = ""
region = "eu-central-1"
}
}
The manual is not very clear on this issue.
Answer the question
In order to leave comments, you need to log in
the key is the name of the object in the s3 bucket, the content of which corresponds to the terraform.tfstate file currently lying locally.
If you have a simple code (as in the screenshot) - you can safely name the key "terraform.tfstate
"
in general, you can name at least "123" - this is just the name of the key where the terraform will look for the state in the future. The only restriction is that the key name must comply with the rules for naming objects in S3
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question