Skip to content

Commit

Permalink
Preserve interpolation-only expressions for < 0.11 samples
Browse files Browse the repository at this point in the history
  • Loading branch information
nimzo6689 committed Nov 20, 2024
1 parent b8692d3 commit 2c203e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion website/docs/language/backend/gcs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ resource "local_file" "foo" {
# Terraform <= 0.11
resource "local_file" "foo" {
content = data.terraform_remote_state.foo.greeting
content = "${data.terraform_remote_state.foo.greeting}"
filename = "${path.module}/outputs.txt"
}
```
Expand Down
4 changes: 2 additions & 2 deletions website/docs/language/state/remote-state-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ resource "aws_instance" "foo" {
# Terraform <= 0.11
resource "aws_instance" "foo" {
# ...
subnet_id = data.terraform_remote_state.vpc.subnet_id
subnet_id = "${data.terraform_remote_state.vpc.subnet_id}"
}
```

Expand All @@ -136,7 +136,7 @@ resource "aws_instance" "foo" {
# Terraform <= 0.11
resource "aws_instance" "foo" {
# ...
subnet_id = data.terraform_remote_state.vpc.subnet_id
subnet_id = "${data.terraform_remote_state.vpc.subnet_id}"
}
```

Expand Down

0 comments on commit 2c203e3

Please sign in to comment.