Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Sep 11, 2025
1 parent 1045558 commit cd54977
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions local-app/tf-directory-setup/remote_state.backend.tf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# version: 1.1.0
# version: 1.1.1

#---
# {{ data.account_alias }}: {{ data.directory }}
Expand All @@ -15,7 +15,7 @@ terraform {
key = "{{ s3key }}"
{% endif %}
region = "{{ data.bucket_region }}"
{% if data.use_lockfile is defined and not data.use_lockfile %}
{% if data.use_lockfile is not defined and not data.use_lockfile %}
dynamodb_table = "{{ data.table_name | default('tf_remote_state') }}"
{% endif %}
{% if data.use_lockfile is defined %}
Expand Down
4 changes: 2 additions & 2 deletions local-app/tf-directory-setup/remote_state.data.tf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# version: 1.1.1
# version: 1.1.2

#---
# {{ data.account_alias }}: {{ data.directory }}
Expand All @@ -11,7 +11,7 @@ data "terraform_remote_state" "{{ data.directory_replaced }}" {
bucket = var.tfstate_bucket
key = join("/",compact([var.tfstate_key_prefix,"{{ data.directory }}",var.tfstate_key_suffix]))
region = var.tfstate_region
{% if data.use_lockfile is defined and not data.use_lockfile %}
{% if data.use_lockfile is not defined and not data.use_lockfile %}
dynamodb_table = var.tfstate_table
{% endif %}
{% if data.use_lockfile is defined %}
Expand Down
4 changes: 2 additions & 2 deletions local-app/tf-directory-setup/remote_state.data.tf.s3.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# version: 1.1.1
# version: 1.1.2

#---
# {{ data.account_alias }}: {{ data.directory }}
Expand All @@ -11,7 +11,7 @@ data "terraform_remote_state" "{{ data.directory_replaced }}" {
bucket = var.tfstate_bucket
key = join("/",compact([var.tfstate_key_prefix,"{{ data.directory }}",var.tfstate_key_suffix]))
region = var.tfstate_region
{% if data.use_lockfile is defined and not data.use_lockfile %}
{% if data.use_lockfile is not defined and not data.use_lockfile %}
dynamodb_table = var.tfstate_table
{% endif %}
{% if data.use_lockfile is defined %}
Expand Down

0 comments on commit cd54977

Please sign in to comment.