mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-27 11:10:57 -05:00
19 lines
383 B
HCL
19 lines
383 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"
|
||
|
}
|
||
|
}
|