AWS Security ChangesHomeSearch

AWS step-functions documentation change

Service: step-functions · 2025-04-18 · Documentation low

File: step-functions/latest/dg/terraform-sfn.md

Summary

Updated Lambda ARN example to use region/account-id placeholders and fixed Terraform resource reference syntax

Security assessment

Documentation improvements for example accuracy without security-related content

Diff

diff --git a/step-functions/latest/dg/terraform-sfn.md b/step-functions/latest/dg/terraform-sfn.md
index 596e4ffe3..c86311b75 100644
--- a//step-functions/latest/dg/terraform-sfn.md
+++ b//step-functions/latest/dg/terraform-sfn.md
@@ -113 +113 @@ The following IAM policy example grants your state machine access to invoke a La
-          "Resource": "arn:aws:lambda:us-east-1:123456789012:function:myFunction"
+          "Resource": "arn:aws:lambda:region:account-id:function:myFunction"
@@ -132 +132 @@ The following IAM policy example uses the `aws_iam_policy_document` data source
-        resources = ["${aws_lambda_function.[[myFunction]].arn}:*"]
+        resources = ["${aws_lambda_function.function-1.arn}:*"]