mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-15 18:13:42 -06:00
Update template example for new syntax
This commit is contained in:
parent
047027a9d3
commit
f0292d420f
@ -25,7 +25,7 @@ Use the navigation to the left to read about the available resources.
|
|||||||
```
|
```
|
||||||
# Template for initial configuration bash script
|
# Template for initial configuration bash script
|
||||||
resource "template_file" "init" {
|
resource "template_file" "init" {
|
||||||
filename = "init.tpl"
|
template = "${file("init.tpl")}"
|
||||||
|
|
||||||
vars {
|
vars {
|
||||||
consul_address = "${aws_instance.consul.private_ip}"
|
consul_address = "${aws_instance.consul.private_ip}"
|
||||||
|
Loading…
Reference in New Issue
Block a user