From a32b96716f58551d62704428fbf7d1f855ec4625 Mon Sep 17 00:00:00 2001 From: nb-ccd Date: Tue, 11 Nov 2025 16:23:12 +0000 Subject: [PATCH] Fix mismatch between code example and text in provider doc The text description talks about `ecs.getAmi()` whereas the code snippets are related to an EC2 provider. I'm not sure if there is an AMI lookup function available for ECS but EC2 seems like the more common use case. --- content/docs/iac/concepts/functions/provider-functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/iac/concepts/functions/provider-functions.md b/content/docs/iac/concepts/functions/provider-functions.md index 8331f5ac25c2..2467d7c70303 100644 --- a/content/docs/iac/concepts/functions/provider-functions.md +++ b/content/docs/iac/concepts/functions/provider-functions.md @@ -20,7 +20,7 @@ aliases: A provider may make **functions** available in its SDK as well as resource types. These "provider functions" are often for calling a platform API to get a value that is not part of a resource. -For example, the AWS provider includes the function [`aws.ecs.getAmi`](/registry/packages/aws/api-docs/ec2/getami/): +For example, the AWS provider includes the function [`aws.ec2.getAmi`](/registry/packages/aws/api-docs/ec2/getami/): {{< chooser language "typescript,python,go,csharp,java,yaml" >}}