mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-09 10:33:37 -05:00
19 lines
344 B
HCL
19 lines
344 B
HCL
|
include {
|
||
|
path = find_in_parent_folders()
|
||
|
}
|
||
|
|
||
|
remote_state {
|
||
|
backend = "s3"
|
||
|
generate = {
|
||
|
path = "backend.tf"
|
||
|
if_exists = "overwrite"
|
||
|
}
|
||
|
config = {
|
||
|
bucket = "my-terraform-state"
|
||
|
key = "${path_relative_to_include()}/terraform.tfstate"
|
||
|
region = "us-east-1"
|
||
|
encrypt = true
|
||
|
dynamodb_table = "my-lock-table"
|
||
|
}
|
||
|
}
|