diff --git a/website/content/docs/templates/hcl_templates/datasources.mdx b/website/content/docs/templates/hcl_templates/datasources.mdx index d596c61fc04..3a8878ff3f7 100644 --- a/website/content/docs/templates/hcl_templates/datasources.mdx +++ b/website/content/docs/templates/hcl_templates/datasources.mdx @@ -70,7 +70,7 @@ locals { ```hcl // in a source source "amazon-ebs" "basic-example" { - source_ami = locals.source_ami + source_ami = local.source_ami // ... } ```