Skip to content

Commit 758d48b

Browse files
author
Jessie Moss
committed
Removing default locking config
1 parent c6b256c commit 758d48b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

bin/tflocal

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ def generate_s3_backend_config() -> str:
288288
# note: default values, updated by `backend_config` further below...
289289
"bucket": "tf-test-state",
290290
"key": "terraform.tfstate",
291-
"use_lockfile": True,
292291
"region": get_region(),
293292
"skip_credentials_validation": True,
294293
"skip_metadata_api_check": True,
@@ -338,9 +337,7 @@ def generate_s3_backend_config() -> str:
338337
if not DRY_RUN:
339338
get_or_create_bucket(configs["bucket"])
340339
if "dynamodb_table" in configs:
341-
del configs["use_lockfile"]
342-
get_or_create_ddb_table(
343-
configs["dynamodb_table"], region=configs["region"])
340+
get_or_create_ddb_table(configs["dynamodb_table"], region=configs["region"])
344341
result = TF_S3_BACKEND_CONFIG
345342
config_options = ""
346343
for key, value in sorted(configs.items()):

0 commit comments

Comments
 (0)