From cef978f17c9b14d3904f73ff5fd1e748b5f36e59 Mon Sep 17 00:00:00 2001
From: Gregory Bonk <112259176+DevopsMercenary@users.noreply.github.com>
Date: Sat, 12 Oct 2024 16:49:31 -0400
Subject: [PATCH] Update datasources.mdx

change Locals to local
---
 website/content/docs/templates/hcl_templates/datasources.mdx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
   // ...
 }
 ```