diff --git a/docs/resources/file.md b/docs/resources/file.md index 4848462..4fae84f 100644 --- a/docs/resources/file.md +++ b/docs/resources/file.md @@ -22,7 +22,7 @@ resource "remote_file" "bashrc" { } path = "/home/john/.bashrc" - content = "alias ll='ls -alF'" + content = file("${path.module}/.bashrc") permissions = "0644" } diff --git a/examples/resources/remote_file/resource.tf b/examples/resources/remote_file/resource.tf index 92fb89e..659e840 100644 --- a/examples/resources/remote_file/resource.tf +++ b/examples/resources/remote_file/resource.tf @@ -7,7 +7,7 @@ resource "remote_file" "bashrc" { } path = "/home/john/.bashrc" - content = "alias ll='ls -alF'" + content = file("${path.module}/.bashrc") permissions = "0644" }