mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-24 05:32:22 -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"
|
||
|
}
|
||
|
}
|