You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
r/aws_lambda_permission(test): scope down invoke function url permissions (#43975)
Previously the `_FunctionURLs` acceptance test configurations granted permissions to a wildcard (`*`) principal. The permissions have been scoped down to an individual IAM role for least privileged access instead.
```console
% make testacc PKG=lambda TESTS=TestAccLambdaPermission_FunctionURLs
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.24.6 test ./internal/service/lambda/... -v -count 1 -parallel 20 -run='TestAccLambdaPermission_FunctionURLs' -timeout 360m -vet=off
2025/08/20 19:57:29 Creating Terraform AWS Provider (SDKv2-style)...
2025/08/20 19:57:29 Initializing Terraform AWS Provider (SDKv2-style)...
--- PASS: TestAccLambdaPermission_FunctionURLs_none (30.39s)
--- PASS: TestAccLambdaPermission_FunctionURLs_iam (36.38s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lambda 43.043s
```
0 commit comments