We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
aws_cloudfront_function
1 parent a1bc7ac commit 0b9abe7Copy full SHA for 0b9abe7
examples/complete/main.tf
@@ -337,5 +337,5 @@ resource "random_pet" "this" {
337
resource "aws_cloudfront_function" "example" {
338
name = "example-${random_pet.this.id}"
339
runtime = "cloudfront-js-1.0"
340
- code = file("example-function.js")
+ code = file("${path.module}/example-function.js")
341
}
0 commit comments