add terraform remote backend
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
terraform {
|
||||
required_version = ">= 0.12"
|
||||
backend "s3" {
|
||||
bucket = "myapp-bucket"
|
||||
key = "myapp/state.tfstate"
|
||||
region = "eu-west-3"
|
||||
}
|
||||
}
|
||||
|
||||
provider "aws" {
|
||||
region = var.region
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user