Skip to content

Commit e7c2dc6

Browse files
committed
fix: unwrap ${ } when inlining string
1 parent 76c2d0b commit e7c2dc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hcl2/transformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def to_tf_inline(self, value: Any) -> str:
393393
if isinstance(value, bool):
394394
return "true" if value else "false"
395395
if isinstance(value, str):
396-
return value
396+
return self.unwrap_string_dollar(value)
397397
if isinstance(value, (int, float)):
398398
return str(value)
399399
if value is None:

0 commit comments

Comments
 (0)