We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ee8caa commit 82599c8Copy full SHA for 82599c8
bin/tflocal
@@ -307,7 +307,10 @@ def generate_s3_backend_config() -> str:
307
config_options += f"\n{value}"
308
continue
309
elif isinstance(value, list):
310
- value = json.dumps(value)
+ # TODO this will break if it's a list of dicts or other complex object
311
+ # this serialization logic should probably be moved to a separate recursive function
312
+ as_string = [f'"{item}"' for item in value]
313
+ value = f'[{", ".join(as_string)}]'
314
else:
315
value = f'"{str(value)}"'
316
config_options += f'\n {key} = {value}'
0 commit comments