Skip to content

Stuck forever when trying to create an aws_lambda_function resource. #42245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ivands opened this issue Apr 15, 2025 · 2 comments
Open

Stuck forever when trying to create an aws_lambda_function resource. #42245

ivands opened this issue Apr 15, 2025 · 2 comments
Labels
bug Addresses a defect in current functionality. needs-triage Waiting for first response or review from a maintainer. service/lambda Issues and PRs that pertain to the lambda service. waiting-response Maintainers are waiting on response from community or contributor.

Comments

@ivands
Copy link

ivands commented Apr 15, 2025

Terraform and AWS Provider Version

I'm not using terraform.
I'm using the AWS provider (5.94.1) directly.

Affected Resource(s) or Data Source(s)

aws_iam_role_policy
aws_lambda_function

Expected Behavior

I expect the AWS provider to be able to create a aws_lambda_function resource without issue.

Actual Behavior

I was in a state where creating an aws_lambda_function resource would get the provider apply call stuck.
Even tho the actual policy is being created on AWS.

Relevant Error/Panic Output

There was no output because the provider would get stuck.

Sample Terraform Configuration

n/a

Steps to Reproduce

n/a

Debug Logging

The logs have my own logs fixed in.
But it will probably still be usefull.
I also renamed my account id to xxx

Client: call Configure

{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:578","@level":"trace","@message":"Received request","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:14.762799+02:00","tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"Configure"}
{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/client_capabilities.go:30","@level":"trace","@message":"No announced client capabilities","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:14.762824+02:00","tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"Configure"}
{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:22","@level":"trace","@message":"Sending request downstream","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:14.762837+02:00","tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"Configure"}
{"@caller":"github.com/hashicorp/[email protected]/internal/logging/mux.go:19","@level":"trace","@message":"calling downstream server","@module":"sdk.mux","@timestamp":"2025-04-15T22:24:14.762850+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:646","@level":"trace","@message":"Calling downstream","@module":"sdk.helper_schema","@timestamp":"2025-04-15T22:24:14.763038+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/terraform-provider-aws/internal/conns/config.go:144","@level":"debug","@message":"Configuring Terraform AWS Provider","@module":"aws","@timestamp":"2025-04-15T22:24:14.763561+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:55","@level":"trace","@message":"Resolving AWS configuration","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:14.763600+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:47","@level":"debug","@message":"Resolving credentials provider","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:14.763618+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:55","@level":"trace","@message":"Building default HTTP client","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:14.763665+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:47","@level":"debug","@message":"Setting profile","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:14.763699+02:00","tf_aws.profile":"jacksclub","tf_aws.profile.source":"provider","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:47","@level":"debug","@message":"Loading configuration","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:14.763708+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:47","@level":"debug","@message":"Retrieving credentials","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:14.765839+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}

{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:39","@level":"info","@message":"Retrieved credentials","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:14.765904+02:00","tf_aws.credentials_source":"SharedConfigCredentials: /Users/ivandasilveira/.aws/credentials","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:55","@level":"trace","@message":"Building default HTTP client","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:14.765914+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:47","@level":"debug","@message":"Loading configuration","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:14.765932+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/terraform-provider-aws/internal/conns/config.go:168","@level":"debug","@message":"Creating AWS SDK v1 session","@module":"aws","@timestamp":"2025-04-15T22:24:14.766030+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}

{"@caller":"github.com/hashicorp/terraform-provider-aws/internal/conns/config.go:183","@level":"debug","@message":"Retrieving AWS account details","@module":"aws","@timestamp":"2025-04-15T22:24:14.766332+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}

{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:47","@level":"debug","@message":"Retrieving caller identity from STS","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:14.766372+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}

{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:47","@level":"debug","@message":"HTTP Request Sent","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:14.766821+02:00","aws.region":"us-east-1","http.method":"POST","http.request.body":"Action=GetCallerIdentity\u0026Version=2011-06-15\n","http.request.header.amz_sdk_invocation_id":"7c54e4d7-bd5a-4741-8fab-dafe812bed5f","http.request.header.amz_sdk_request":"attempt=1; max=5","http.request.header.authorization":"AWS4-HMAC-SHA256 Credential=AKIA************WSNB/20250415/us-east-1/sts/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-date, Signature=*****","http.request.header.content_type":"application/x-www-form-urlencoded","http.request.header.x_amz_date":"20250415T202414Z","http.request_content_length":43,"http.url":"https://sts.us-east-1.amazonaws.com/","http.user_agent":"APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) terraform-provider-aws/5.94.1 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.36.3 ua/2.1 os/macos lang/go#1.23.7 md/GOOS#darwin md/GOARCH#arm64 api/sts#1.33.17 m/n","net.peer.name":"sts.us-east-1.amazonaws.com","rpc.method":"GetCallerIdentity","rpc.service":"STS","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}

◓  Deploying the stacks to AWS...{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:47","@level":"debug","@message":"HTTP Response Received","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:15.482507+02:00","aws.region":"us-east-1","http.duration":715,"http.response.body":"\u003cGetCallerIdentityResponse xmlns=\"https://sts.amazonaws.com/doc/2011-06-15/\"\u003e\n  \u003cGetCallerIdentityResult\u003e\n    \u003cArn\u003earn:aws:iam::xxx:user/ivan\u003c/Arn\u003e\n    \u003cUserId\u003eAIDA*************IMU7\u003c/UserId\u003e\n    \u003cAccount\u003exxx\u003c/Account\u003e\n  \u003c/GetCallerIdentityResult\u003e\n  \u003cResponseMetadata\u003e\n    \u003cRequestId\u003eea3d700b-333e-41d6-a68d-3bd28d62cd51\u003c/RequestId\u003e\n  \u003c/ResponseMetadata\u003e\n\u003c/GetCallerIdentityResponse\u003e\n","http.response.header.content_type":"text/xml","http.response.header.date":"Tue, 15 Apr 2025 20:24:15 GMT","http.response.header.x_amzn_requestid":"ea3d700b-333e-41d6-a68d-3bd28d62cd51","http.response_content_length":401,"http.status_code":200,"rpc.method":"GetCallerIdentity","rpc.service":"STS","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}

{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:39","@level":"info","@message":"Retrieved caller identity from STS","@module":"aws.aws-base","@timestamp":"2025-04-15T22:24:15.482706+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:648","@level":"trace","@message":"Called downstream","@module":"sdk.helper_schema","@timestamp":"2025-04-15T22:24:15.482736+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/[email protected]/internal/logging/mux.go:19","@level":"trace","@message":"calling downstream server","@module":"sdk.mux","@timestamp":"2025-04-15T22:24:15.482789+02:00","tf_mux_provider":"*proto5server.Server","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/[email protected]/internal/fwserver/server.go:389","@level":"trace","@message":"Checking ProviderSchema lock","@module":"sdk.framework","@timestamp":"2025-04-15T22:24:15.482823+02:00","tf_mux_provider":"*proto5server.Server","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}

{"@caller":"github.com/hashicorp/[email protected]/internal/fwserver/server_configureprovider.go:15","@level":"trace","@message":"Calling provider defined Provider Configure","@module":"sdk.framework","@timestamp":"2025-04-15T22:24:15.483562+02:00","tf_mux_provider":"*proto5server.Server","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/[email protected]/internal/fwserver/server_configureprovider.go:23","@level":"trace","@message":"Called provider defined Provider Configure","@module":"sdk.framework","@timestamp":"2025-04-15T22:24:15.483592+02:00","tf_mux_provider":"*proto5server.Server","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"ConfigureProvider"}
{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:42","@level":"trace","@message":"Received downstream response","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:15.483627+02:00","diagnostic_error_count":0,"diagnostic_warning_count":0,"tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_duration_ms":720,"tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"Configure"}
{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:598","@level":"trace","@message":"Served request","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:15.483659+02:00","tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"e70950d2-8498-a2c5-66b9-a3e88aa58042","tf_rpc":"Configure"}


Client: call PlanResourceChange

{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:812","@level":"trace","@message":"Received request","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:15.489351+02:00","tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"15e974e9-efbc-e299-3f8f-148c0c3f0c7a","tf_resource_type":"aws_lambda_function","tf_rpc":"PlanResourceChange"}

{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/client_capabilities.go:72","@level":"trace","@message":"No announced client capabilities","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:15.489379+02:00","tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"15e974e9-efbc-e299-3f8f-148c0c3f0c7a","tf_resource_type":"aws_lambda_function","tf_rpc":"PlanResourceChange"}
{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:22","@level":"trace","@message":"Sending request downstream","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:15.489394+02:00","tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"15e974e9-efbc-e299-3f8f-148c0c3f0c7a","tf_resource_type":"aws_lambda_function","tf_rpc":"PlanResourceChange"}
{"@caller":"github.com/hashicorp/[email protected]/internal/logging/mux.go:19","@level":"trace","@message":"calling downstream server","@module":"sdk.mux","@timestamp":"2025-04-15T22:24:15.489414+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_rpc":"PlanResourceChange"}

{"@caller":"github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/schema.go:709","@level":"trace","@message":"Calling downstream","@module":"sdk.helper_schema","@timestamp":"2025-04-15T22:24:15.491592+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"15e974e9-efbc-e299-3f8f-148c0c3f0c7a","tf_resource_type":"aws_lambda_function","tf_rpc":"PlanResourceChange"}

{"@caller":"github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/schema.go:711","@level":"trace","@message":"Called downstream","@module":"sdk.helper_schema","@timestamp":"2025-04-15T22:24:15.491700+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"15e974e9-efbc-e299-3f8f-148c0c3f0c7a","tf_resource_type":"aws_lambda_function","tf_rpc":"PlanResourceChange"}

{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:42","@level":"trace","@message":"Received downstream response","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:15.492175+02:00","diagnostic_error_count":0,"diagnostic_warning_count":0,"tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_duration_ms":2,"tf_req_id":"15e974e9-efbc-e299-3f8f-148c0c3f0c7a","tf_resource_type":"aws_lambda_function","tf_rpc":"PlanResourceChange"}
{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:844","@level":"trace","@message":"Served request","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:15.492201+02:00","tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"15e974e9-efbc-e299-3f8f-148c0c3f0c7a","tf_resource_type":"aws_lambda_function","tf_rpc":"PlanResourceChange"}


Client: call ApplyResourceChange

{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:853","@level":"trace","@message":"Received request","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:15.497189+02:00","tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:22","@level":"trace","@message":"Sending request downstream","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:15.497230+02:00","tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}
{"@caller":"github.com/hashicorp/[email protected]/internal/logging/mux.go:19","@level":"trace","@message":"calling downstream server","@module":"sdk.mux","@timestamp":"2025-04-15T22:24:15.497251+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_rpc":"ApplyResourceChange"}

[DEBUG] setting computed for "tags_all" from ComputedKeys

[DEBUG] setting computed for "ephemeral_storage" from ComputedKeys

[DEBUG] setting computed for "tracing_config" from ComputedKeys

{"@caller":"github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:968","@level":"trace","@message":"Calling downstream","@module":"sdk.helper_schema","@timestamp":"2025-04-15T22:24:15.497747+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

[DEBUG] Waiting for state to become: [success]

{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:45","@level":"debug","@message":"HTTP Request Sent","@module":"aws","@timestamp":"2025-04-15T22:24:15.498469+02:00","aws.region":"us-east-1","http.method":"POST","http.request.body":"{\"Architectures\":[\"arm64\"],\"Code\":{\"S3Bucket\":\"app-jack-next--function--assets--55f9796d\",\"S3Key\":\"lambda/app-jack-next--rpc--api-auth.zip\"},\"Description\":\"\",\"Environment\":{\"Variables\":{\"AWS_ACCOUNT_ID\":\"xxx\",\"APP\":\"app-jack-next\",\"APP_ID\":\"55f9796d\"}},\"FunctionName\":\"app-jack-next--rpc--api-auth\",\"Handler\":\"index.default\",\"LoggingConfig\":{\"ApplicationLogLevel\":\"INFO\",\"LogFormat\":\"JSON\",\"SystemLogLevel\":\"WARN\"},\"MemorySize\":128,\"PackageType\":\"Zip\",\"Role\":\"arn:aws:iam::xxx:role/app-jack-next--rpc--api-auth--55f9796d\",\"Runtime\":\"nodejs20.x\",\"Timeout\":10}\n","http.request.header.amz_sdk_invocation_id":"56c75c05-1f58-44a2-88d7-a006aac69490","http.request.header.amz_sdk_request":"attempt=1; max=5","http.request.header.authorization":"AWS4-HMAC-SHA256 Credential=AKIA************WSNB/20250415/us-east-1/lambda/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-date, Signature=*****","http.request.header.content_type":"application/json","http.request.header.x_amz_date":"20250415T202415Z","http.request_content_length":576,"http.url":"https://lambda.us-east-1.amazonaws.com/2015-03-31/functions","http.user_agent":"APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) terraform-provider-aws/5.94.1 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.36.3 ua/2.1 os/macos lang/go#1.23.7 md/GOOS#darwin md/GOARCH#arm64 api/lambda#1.71.0 m/n","net.peer.name":"lambda.us-east-1.amazonaws.com","rpc.method":"CreateFunction","rpc.service":"Lambda","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

◑  Deploying the stacks to AWS.{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:45","@level":"debug","@message":"HTTP Response Received","@module":"aws","@timestamp":"2025-04-15T22:24:16.541530+02:00","aws.region":"us-east-1","http.duration":1042,"http.response.body":"{\"Description\":\"\",\"TracingConfig\":{\"Mode\":\"PassThrough\"},\"VpcConfig\":null,\"SigningJobArn\":null,\"SnapStart\":{\"OptimizationStatus\":\"Off\",\"ApplyOn\":\"None\"},\"RevisionId\":\"a4f2b2c6-ca06-489c-8c4c-088acc620141\",\"LastModified\":\"2025-04-15T20:24:16.283+0000\",\"FileSystemConfigs\":null,\"FunctionName\":\"app-jack-next--rpc--api-auth\",\"Runtime\":\"nodejs20.x\",\"Version\":\"$LATEST\",\"PackageType\":\"Zip\",\"LastUpdateStatus\":null,\"Layers\":null,\"FunctionArn\":\"arn:aws:lambda:us-east-1:xxx:function:app-jack-next--rpc--api-auth\",\"KMSKeyArn\":null,\"MemorySize\":128,\"ImageConfigResponse\":null,\"LastUpdateStatusReason\":null,\"DeadLetterConfig\":null,\"Timeout\":10,\"Handler\":\"index.default\",\"CodeSha256\":\"sS/pwfPOIjGY14+h9h8MIqvIAD0C3/EIhq2Dcc1BzvA=\",\"Role\":\"arn:aws:iam::xxx:role/app-jack-next--rpc--api-auth--55f9796d\",\"SigningProfileVersionArn\":null,\"MasterArn\":null,\"RuntimeVersionConfig\":{\"Error\":null,\"RuntimeVersionArn\":\"arn:aws:lambda:us-east-1::runtime:51c2f00410955f19c9c98e4f58bc83ee741ed7481f4299ee29e765de2985b64e\"},\"CodeSize\":214,\"State\":\"Pending\",\"StateReason\":\"The function is being created.\",\"LoggingConfig\":{\"LogFormat\":\"JSON\",\"ApplicationLogLevel\":\"INFO\",\"LogGroup\":\"/aws/lambda/app-jack-next--rpc--api-auth\",\"SystemLogLevel\":\"WARN\"},\"Environment\":{\"Variables\":{\"APP\":\"app-jack-next\",\"APP_ID\":\"55f9796d\",\"AWS_ACCOUNT_ID\":\"xxx\"},\"Error\":null},\"EphemeralStorage\":{\"Size\":512},\"StateReasonCode\":\"Creating\",\"LastUpdateStatusReasonCode\":null,\"Architectures\":[\"arm64\"]}\n","http.response.header.content_type":"application/json","http.response.header.date":"Tue, 15 Apr 2025 20:24:16 GMT","http.response.header.x_amzn_requestid":"d664142f-e75d-43d1-80ad-d997660d8ea7","http.response_content_length":1478,"http.status_code":201,"rpc.method":"CreateFunction","rpc.service":"Lambda","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

[DEBUG] Waiting for state to become: [success]

{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:45","@level":"debug","@message":"HTTP Request Sent","@module":"aws","@timestamp":"2025-04-15T22:24:16.543305+02:00","aws.region":"us-east-1","http.method":"GET","http.request.body":"","http.request.header.amz_sdk_invocation_id":"54d4cab4-78ab-42d2-9421-cbd716432b3a","http.request.header.amz_sdk_request":"attempt=1; max=5","http.request.header.authorization":"AWS4-HMAC-SHA256 Credential=AKIA************WSNB/20250415/us-east-1/lambda/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;host;x-amz-date, Signature=*****","http.request.header.x_amz_date":"20250415T202416Z","http.url":"https://lambda.us-east-1.amazonaws.com/2015-03-31/functions/app-jack-next--rpc--api-auth","http.user_agent":"APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) terraform-provider-aws/5.94.1 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.36.3 ua/2.1 os/macos lang/go#1.23.7 md/GOOS#darwin md/GOARCH#arm64 api/lambda#1.71.0 m/n","net.peer.name":"lambda.us-east-1.amazonaws.com","rpc.method":"GetFunction","rpc.service":"Lambda","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

◓  Deploying the stacks to AWS.{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:45","@level":"debug","@message":"HTTP Response Received","@module":"aws","@timestamp":"2025-04-15T22:24:16.767218+02:00","aws.region":"us-east-1","http.duration":223,"http.response.body":"{\"Configuration\":{\"Description\":\"\",\"TracingConfig\":{\"Mode\":\"PassThrough\"},\"VpcConfig\":null,\"SigningJobArn\":null,\"SnapStart\":{\"OptimizationStatus\":\"Off\",\"ApplyOn\":\"None\"},\"RevisionId\":\"a4f2b2c6-ca06-489c-8c4c-088acc620141\",\"LastModified\":\"2025-04-15T20:24:16.283+0000\",\"FileSystemConfigs\":null,\"FunctionName\":\"app-jack-next--rpc--api-auth\",\"Runtime\":\"nodejs20.x\",\"Version\":\"$LATEST\",\"PackageType\":\"Zip\",\"LastUpdateStatus\":null,\"Layers\":null,\"FunctionArn\":\"arn:aws:lambda:us-east-1:xxx:function:app-jack-next--rpc--api-auth\",\"KMSKeyArn\":null,\"MemorySize\":128,\"ImageConfigResponse\":null,\"LastUpdateStatusReason\":null,\"DeadLetterConfig\":null,\"Timeout\":10,\"Handler\":\"index.default\",\"CodeSha256\":\"sS/pwfPOIjGY14+h9h8MIqvIAD0C3/EIhq2Dcc1BzvA=\",\"Role\":\"arn:aws:iam::xxx:role/app-jack-next--rpc--api-auth--55f9796d\",\"SigningProfileVersionArn\":null,\"MasterArn\":null,\"RuntimeVersionConfig\":{\"Error\":null,\"RuntimeVersionArn\":\"arn:aws:lambda:us-east-1::runtime:51c2f00410955f19c9c98e4f58bc83ee741ed7481f4299ee29e765de2985b64e\"},\"CodeSize\":214,\"State\":\"Pending\",\"StateReason\":\"The function is being created.\",\"LoggingConfig\":{\"LogFormat\":\"JSON\",\"ApplicationLogLevel\":\"INFO\",\"LogGroup\":\"/aws/lambda/app-jack-next--rpc--api-auth\",\"SystemLogLevel\":\"WARN\"},\"Environment\":{\"Variables\":{\"APP\":\"app-jack-next\",\"APP_ID\":\"55f9796d\",\"AWS_ACCOUNT_ID\":\"xxx\"},\"Error\":null},\"EphemeralStorage\":{\"Size\":512},\"StateReasonCode\":\"Creating\",\"LastUpdateStatusReasonCode\":null,\"Architectures\":[\"arm64\"]},\"Concurrency\":null,\"TagsError\":null,\"Code\":{\"SourceKMSKeyArn\":null,\"ResolvedImageUri\":null,\"RepositoryType\":\"S3\",\"Error\":null,\"ImageUri\":null,\"Location\":\"https://prod-04-2014-tasks.s3.us-east-1.amazonaws.com/snapshots/xxx/app-jack-next--rpc--api-auth-7591c902-12e0-4727-9b1e-1fb6b99a49a1?versionId=cB4UjK.0TjGMJTsXJ3BFMtClL9BJ5faV\u0026X-Amz-Security-Token=IQoJb3JpZ2luX2VjEKT%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJIMEYCIQCKEHOpSIrFQFvC1E3%2FWayXlSh6%2F0mWwzBDl5y8nEFO0AIhAJVb%2BkKdtMdhml7rB9%2BrLKV%2BQ76VRWeEcZREU1AIDVw5KokCCC0QABoMNzQ5Njc4OTAyODM5IgyMBXBP3aG%2F5FEh5yAq5gHRRyrYWDDx%2FzkJDTH%2BgYsHhjQ2f7Vg11kUqV7xJwLM56gN%2Fr69i4IJsA5wCb8Ww%2BIFDKO5EWCy5su8DRNK6cGwD9Fr%2FRnWCn5RsEl2eqwl2XbSi7s8EN9Rh51dn4O6Nsl5zW0Ix8Y02ls39yp2XYZqkfOTCa8GYO3R%2Bc5F3xco6PSFBxcxgTiNFIoRxWyxAunflQdLeJKG3kXs%2BeTzymZDKLTxrX89N6S8K46%2BY3O7UwDm40hwGfolcyItimjev0Fu%2BV%2FgOi04qt%2Fz89J38zm2cPhbrPjuEfo11m9uAlR3gU2FJjxTODD8kPm%2FBjqOAeQ3Rc5uUu4cyW1jvmptzhtMd5L2%2BgZ5gwyl6nWGzTO5D7P7nzMn%2FcnvBSAYZL6FEih9O1uptf1%2Femusux5UWv06o4iZ7ujA%2BGbjc2vRo5q2K2ivqkZsF9ib4T01r6r0EMP5k8LMcOJm8RvSqBZGYiTVLTudOvSSsS4GIDcb%2FwCusHYP%2Bx0aB7MpyD4DoRY%3D\u0026X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Date=20250415T202416Z\u0026X-Amz-SignedHeaders=host\u0026X-Amz-Expires=600\u0026X-Amz-Credential=ASIA************E34S%2F20250415%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Signature=53f6832d8140bd75cdb52db2afa0396e2c5dfba87aa60dcd4ebfc077a5347064\"},\"Tags\":null}\n","http.response.header.content_type":"application/json","http.response.header.date":"Tue, 15 Apr 2025 20:24:16 GMT","http.response.header.x_amzn_requestid":"0a0b5276-7011-4b61-b00d-00143a2fc208","http.response_content_length":2912,"http.status_code":200,"rpc.method":"GetFunction","rpc.service":"Lambda","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

[DEBUG] Waiting for state to become: [Active]

◒  Deploying the stacks to AWS.{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:45","@level":"debug","@message":"HTTP Request Sent","@module":"aws","@timestamp":"2025-04-15T22:24:21.773642+02:00","aws.region":"us-east-1","http.method":"GET","http.request.body":"","http.request.header.amz_sdk_invocation_id":"fec78a77-b0f7-427d-98a3-b16c4b1ebd02","http.request.header.amz_sdk_request":"attempt=1; max=5","http.request.header.authorization":"AWS4-HMAC-SHA256 Credential=AKIA************WSNB/20250415/us-east-1/lambda/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;host;x-amz-date, Signature=*****","http.request.header.x_amz_date":"20250415T202421Z","http.url":"https://lambda.us-east-1.amazonaws.com/2015-03-31/functions/app-jack-next--rpc--api-auth","http.user_agent":"APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) terraform-provider-aws/5.94.1 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.36.3 ua/2.1 os/macos lang/go#1.23.7 md/GOOS#darwin md/GOARCH#arm64 api/lambda#1.71.0 m/n","net.peer.name":"lambda.us-east-1.amazonaws.com","rpc.method":"GetFunction","rpc.service":"Lambda","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

◑  Deploying the stacks to AWS.{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:45","@level":"debug","@message":"HTTP Response Received","@module":"aws","@timestamp":"2025-04-15T22:24:22.006711+02:00","aws.region":"us-east-1","http.duration":232,"http.response.body":"{\"Configuration\":{\"Description\":\"\",\"TracingConfig\":{\"Mode\":\"PassThrough\"},\"VpcConfig\":null,\"SigningJobArn\":null,\"SnapStart\":{\"OptimizationStatus\":\"Off\",\"ApplyOn\":\"None\"},\"RevisionId\":\"411d5485-d76e-46e8-a08a-05d952151607\",\"LastModified\":\"2025-04-15T20:24:16.283+0000\",\"FileSystemConfigs\":null,\"FunctionName\":\"app-jack-next--rpc--api-auth\",\"Runtime\":\"nodejs20.x\",\"Version\":\"$LATEST\",\"PackageType\":\"Zip\",\"LastUpdateStatus\":\"Successful\",\"Layers\":null,\"FunctionArn\":\"arn:aws:lambda:us-east-1:xxx:function:app-jack-next--rpc--api-auth\",\"KMSKeyArn\":null,\"MemorySize\":128,\"ImageConfigResponse\":null,\"LastUpdateStatusReason\":null,\"DeadLetterConfig\":null,\"Timeout\":10,\"Handler\":\"index.default\",\"CodeSha256\":\"sS/pwfPOIjGY14+h9h8MIqvIAD0C3/EIhq2Dcc1BzvA=\",\"Role\":\"arn:aws:iam::xxx:role/app-jack-next--rpc--api-auth--55f9796d\",\"SigningProfileVersionArn\":null,\"MasterArn\":null,\"RuntimeVersionConfig\":{\"Error\":null,\"RuntimeVersionArn\":\"arn:aws:lambda:us-east-1::runtime:51c2f00410955f19c9c98e4f58bc83ee741ed7481f4299ee29e765de2985b64e\"},\"CodeSize\":214,\"State\":\"Active\",\"StateReason\":null,\"LoggingConfig\":{\"LogFormat\":\"JSON\",\"ApplicationLogLevel\":\"INFO\",\"LogGroup\":\"/aws/lambda/app-jack-next--rpc--api-auth\",\"SystemLogLevel\":\"WARN\"},\"Environment\":{\"Variables\":{\"APP\":\"app-jack-next\",\"APP_ID\":\"55f9796d\",\"AWS_ACCOUNT_ID\":\"xxx\"},\"Error\":null},\"EphemeralStorage\":{\"Size\":512},\"StateReasonCode\":null,\"LastUpdateStatusReasonCode\":null,\"Architectures\":[\"arm64\"]},\"Concurrency\":null,\"TagsError\":null,\"Code\":{\"SourceKMSKeyArn\":null,\"ResolvedImageUri\":null,\"RepositoryType\":\"S3\",\"Error\":null,\"ImageUri\":null,\"Location\":\"https://prod-04-2014-tasks.s3.us-east-1.amazonaws.com/snapshots/xxx/app-jack-next--rpc--api-auth-7591c902-12e0-4727-9b1e-1fb6b99a49a1?versionId=cB4UjK.0TjGMJTsXJ3BFMtClL9BJ5faV\u0026X-Amz-Security-Token=IQoJb3JpZ2luX2VjEKz%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJIMEYCIQCn%2Bzo9DFZbiEkR0UPoPtbwdQWA7Ya9wk84ZREkZZUJcwIhALLe%2FvjRppGRZJjWyEVXDIkpf0YhDJBco9aKfMXoVXdqKokCCDUQABoMNzQ5Njc4OTAyODM5Igy0Fnt4VNREix3R%2BWgq5gF1U2jVrFB3jt4TysPth%2FtnlH2lP%2FePa4EOWqLZP073Nc7c7wLbw63uJbh7%2Byf2CI66yR8V9FX%2Bkl8iSQRVHQMgtm%2B9S********************************eexQ%2FmybchrU%2Fwk6r%2BkXdPpHOVbSZ8Egp5gxW4U7HABtjuL9cOFN3HewJ8o8FQFOc0hESpGOJCeVKJx9%2BezWIPMHUVTDwv%2BPJKA4HCWqtdECwvkqMcBMpN5%2FXfnsPNxbkkVNI6XfEUuisFfjrG8oArBuBkE2HjsHeCaD5sDRnbdkRZfj5ZF5n7cRDDT7Pq%2FBjqOAXHLBdIy8ro2d8j1XSn4Gc95ZOtCSc1JsUwqTjHcH7OMkF1LyyE54ywDHdygB814J0EjSspyxMpkLkqypAdf1EK33xODAyKRwq60yAqTMFpQzPLoK21tkMKeNOftHN4sDKrNYcSd1l3GyQki%2BQy4VxPr%2FhyZW%2BaV1oCmunhLv8luAxbIgmSnP7%2FbaHl4Nsc%3D\u0026X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Date=20250415T202421Z\u0026X-Amz-SignedHeaders=host\u0026X-Amz-Expires=600\u0026X-Amz-Credential=ASIA************6MRQ%2F20250415%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Signature=6c90aa79b07089023cda96a27a507837f52a69f82c85078c5dc64f4eb4ef56fe\"},\"Tags\":null}\n","http.response.header.content_type":"application/json","http.response.header.date":"Tue, 15 Apr 2025 20:24:22 GMT","http.response.header.x_amzn_requestid":"4a29b04d-b54f-47ab-9189-fc95cd56c6a9","http.response_content_length":2875,"http.status_code":200,"rpc.method":"GetFunction","rpc.service":"Lambda","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:45","@level":"debug","@message":"HTTP Request Sent","@module":"aws","@timestamp":"2025-04-15T22:24:22.010582+02:00","aws.region":"us-east-1","http.method":"GET","http.request.body":"","http.request.header.amz_sdk_invocation_id":"6cfce17a-0c0b-4011-b688-15988ed62fc1","http.request.header.amz_sdk_request":"attempt=1; max=5","http.request.header.authorization":"AWS4-HMAC-SHA256 Credential=AKIA************WSNB/20250415/us-east-1/lambda/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;host;x-amz-date, Signature=*****","http.request.header.x_amz_date":"20250415T202422Z","http.url":"https://lambda.us-east-1.amazonaws.com/2015-03-31/functions/app-jack-next--rpc--api-auth","http.user_agent":"APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) terraform-provider-aws/5.94.1 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.36.3 ua/2.1 os/macos lang/go#1.23.7 md/GOOS#darwin md/GOARCH#arm64 api/lambda#1.71.0 m/n","net.peer.name":"lambda.us-east-1.amazonaws.com","rpc.method":"GetFunction","rpc.service":"Lambda","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

◓  Deploying the stacks to AWS.{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:45","@level":"debug","@message":"HTTP Response Received","@module":"aws","@timestamp":"2025-04-15T22:24:22.230972+02:00","aws.region":"us-east-1","http.duration":216,"http.response.body":"{\"Configuration\":{\"Description\":\"\",\"TracingConfig\":{\"Mode\":\"PassThrough\"},\"VpcConfig\":null,\"SigningJobArn\":null,\"SnapStart\":{\"OptimizationStatus\":\"Off\",\"ApplyOn\":\"None\"},\"RevisionId\":\"411d5485-d76e-46e8-a08a-05d952151607\",\"LastModified\":\"2025-04-15T20:24:16.283+0000\",\"FileSystemConfigs\":null,\"FunctionName\":\"app-jack-next--rpc--api-auth\",\"Runtime\":\"nodejs20.x\",\"Version\":\"$LATEST\",\"PackageType\":\"Zip\",\"LastUpdateStatus\":\"Successful\",\"Layers\":null,\"FunctionArn\":\"arn:aws:lambda:us-east-1:xxx:function:app-jack-next--rpc--api-auth\",\"KMSKeyArn\":null,\"MemorySize\":128,\"ImageConfigResponse\":null,\"LastUpdateStatusReason\":null,\"DeadLetterConfig\":null,\"Timeout\":10,\"Handler\":\"index.default\",\"CodeSha256\":\"sS/pwfPOIjGY14+h9h8MIqvIAD0C3/EIhq2Dcc1BzvA=\",\"Role\":\"arn:aws:iam::xxx:role/app-jack-next--rpc--api-auth--55f9796d\",\"SigningProfileVersionArn\":null,\"MasterArn\":null,\"RuntimeVersionConfig\":{\"Error\":null,\"RuntimeVersionArn\":\"arn:aws:lambda:us-east-1::runtime:51c2f00410955f19c9c98e4f58bc83ee741ed7481f4299ee29e765de2985b64e\"},\"CodeSize\":214,\"State\":\"Active\",\"StateReason\":null,\"LoggingConfig\":{\"LogFormat\":\"JSON\",\"ApplicationLogLevel\":\"INFO\",\"LogGroup\":\"/aws/lambda/app-jack-next--rpc--api-auth\",\"SystemLogLevel\":\"WARN\"},\"Environment\":{\"Variables\":{\"APP\":\"app-jack-next\",\"APP_ID\":\"55f9796d\",\"AWS_ACCOUNT_ID\":\"xxx\"},\"Error\":null},\"EphemeralStorage\":{\"Size\":512},\"StateReasonCode\":null,\"LastUpdateStatusReasonCode\":null,\"Architectures\":[\"arm64\"]},\"Concurrency\":null,\"TagsError\":null,\"Code\":{\"SourceKMSKeyArn\":null,\"ResolvedImageUri\":null,\"RepositoryType\":\"S3\",\"Error\":null,\"ImageUri\":null,\"Location\":\"https://prod-04-2014-tasks.s3.us-east-1.amazonaws.com/snapshots/xxx/app-jack-next--rpc--api-auth-7591c902-12e0-4727-9b1e-1fb6b99a49a1?versionId=cB4UjK.0TjGMJTsXJ3BFMtClL9BJ5faV\u0026X-Amz-Security-Token=IQoJb3JpZ2luX2VjEKj%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJIMEYCIQCQjPEe3cfAGLEK0EKn9HI%2FbvvcPZr3c66sawrNlPwkWQIhAOt4XxHVOeNDB0N4hcFIhSJR5o0Y08c88EZbMNFSXZRCKokCCDAQABoMNzQ5Njc4OTAyODM5IgxTxfwj3h4gBnY8WxEq5gGypDcTZ3NlSkFK%2FTRPvbrI11EuZKhJ1dABYL%2B%2F3WfjScXvFaer5Xsn8nPRBbZHp1043JSgCLv8WRaFB2e7W06t36U979gnWB%2FHdDNee%2B4%2FX7h3Q1hWOWIx2OCSucKT7Q8%2BTtfydUIkkvZqYvpxlJ8UIhnmwEAmAtgzviCCHa1ZVRZR%2BcXroH7Ktj3FMwsLQMbPS3Suqp4TcCJcWz2gPpA4p2knx%2BDv%2FUOqYHrYJpksjEVwkY1G5EHfS9LtAVkdpoiUFgTasKjR5H07YOfHThbBWUed5rdHaFp1ttjcsF54u5o4DFmZIjCP8vm%2FBjqOAUlYyvdV0SqdU0nnaGGeveGStVZJhYSnayiNRGvJOBkPoWvrL8hUrWcjRCrIwRmgYXAkT5xfPTJLierI2F1LqbTTY4l9KUvx668stiJoqxyBQ%2B%2Fm%2FQHzFlSYTbTDU6mkmdwmNn%2BnmeAfjgT32yyhNgdigcjiaSlcxRkBwR8alaMqZIoIBwn29%2B9X%2F7upvy8%3D\u0026X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Date=20250415T202422Z\u0026X-Amz-SignedHeaders=host\u0026X-Amz-Expires=600\u0026X-Amz-Credential=ASIA************CPEL%2F20250415%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Signature=5950e09a9d87ffc7c5dda45fa21cad60d3d4593ca04a85df0a6f1228f1d9eda0\"},\"Tags\":null}\n","http.response.header.content_type":"application/json","http.response.header.date":"Tue, 15 Apr 2025 20:24:22 GMT","http.response.header.x_amzn_requestid":"9ae93bee-2bca-4fbb-9063-9db4195d4f5d","http.response_content_length":2873,"http.status_code":200,"rpc.method":"GetFunction","rpc.service":"Lambda","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:45","@level":"debug","@message":"HTTP Request Sent","@module":"aws","@timestamp":"2025-04-15T22:24:22.236113+02:00","aws.region":"us-east-1","http.method":"GET","http.request.body":"","http.request.header.amz_sdk_invocation_id":"f67a45fc-86ec-4a8c-b350-53b220112bdc","http.request.header.amz_sdk_request":"attempt=1; max=5","http.request.header.authorization":"AWS4-HMAC-SHA256 Credential=AKIA************WSNB/20250415/us-east-1/lambda/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;host;x-amz-date, Signature=*****","http.request.header.x_amz_date":"20250415T202422Z","http.url":"https://lambda.us-east-1.amazonaws.com/2015-03-31/functions/app-jack-next--rpc--api-auth/versions?MaxItems=10000","http.user_agent":"APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) terraform-provider-aws/5.94.1 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.36.3 ua/2.1 os/macos lang/go#1.23.7 md/GOOS#darwin md/GOARCH#arm64 api/lambda#1.71.0 m/C,n","net.peer.name":"lambda.us-east-1.amazonaws.com","rpc.method":"ListVersionsByFunction","rpc.service":"Lambda","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

◒  Deploying the stacks to AWS..{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:45","@level":"debug","@message":"HTTP Response Received","@module":"aws","@timestamp":"2025-04-15T22:24:22.445358+02:00","aws.region":"us-east-1","http.duration":208,"http.response.body":"{\"Versions\":[{\"Description\":\"\",\"TracingConfig\":{\"Mode\":\"PassThrough\"},\"VpcConfig\":null,\"SigningJobArn\":null,\"SnapStart\":{\"OptimizationStatus\":\"Off\",\"ApplyOn\":\"None\"},\"RevisionId\":\"411d5485-d76e-46e8-a08a-05d952151607\",\"LastModified\":\"2025-04-15T20:24:16.283+0000\",\"FileSystemConfigs\":null,\"FunctionName\":\"app-jack-next--rpc--api-auth\",\"Runtime\":\"nodejs20.x\",\"Version\":\"$LATEST\",\"PackageType\":\"Zip\",\"LastUpdateStatus\":null,\"Layers\":null,\"FunctionArn\":\"arn:aws:lambda:us-east-1:xxx:function:app-jack-next--rpc--api-auth:$LATEST\",\"KMSKeyArn\":null,\"MemorySize\":128,\"ImageConfigResponse\":null,\"LastUpdateStatusReason\":null,\"DeadLetterConfig\":null,\"Timeout\":10,\"Handler\":\"index.default\",\"CodeSha256\":\"sS/pwfPOIjGY14+h9h8MIqvIAD0C3/EIhq2Dcc1BzvA=\",\"Role\":\"arn:aws:iam::xxx:role/app-jack-next--rpc--api-auth--55f9796d\",\"SigningProfileVersionArn\":null,\"MasterArn\":null,\"RuntimeVersionConfig\":null,\"CodeSize\":214,\"State\":null,\"StateReason\":null,\"LoggingConfig\":{\"LogFormat\":\"JSON\",\"ApplicationLogLevel\":\"INFO\",\"LogGroup\":\"/aws/lambda/app-jack-next--rpc--api-auth\",\"SystemLogLevel\":\"WARN\"},\"Environment\":{\"Variables\":{\"APP\":\"app-jack-next\",\"APP_ID\":\"55f9796d\",\"AWS_ACCOUNT_ID\":\"xxx\"},\"Error\":null},\"EphemeralStorage\":{\"Size\":512},\"StateReasonCode\":null,\"LastUpdateStatusReasonCode\":null,\"Architectures\":[\"arm64\"]}],\"NextMarker\":null}\n","http.response.header.content_type":"application/json","http.response.header.date":"Tue, 15 Apr 2025 20:24:22 GMT","http.response.header.x_amzn_requestid":"c720dc63-fc60-4eb4-b84b-f49bdb5c973f","http.response_content_length":1349,"http.status_code":200,"rpc.method":"ListVersionsByFunction","rpc.service":"Lambda","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:45","@level":"debug","@message":"HTTP Request Sent","@module":"aws","@timestamp":"2025-04-15T22:24:22.446557+02:00","aws.region":"us-east-1","http.method":"GET","http.request.body":"","http.request.header.amz_sdk_invocation_id":"136c9092-4908-485c-8ff8-c35501be83e7","http.request.header.amz_sdk_request":"attempt=1; max=5","http.request.header.authorization":"AWS4-HMAC-SHA256 Credential=AKIA************WSNB/20250415/us-east-1/lambda/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;host;x-amz-date, Signature=*****","http.request.header.x_amz_date":"20250415T202422Z","http.url":"https://lambda.us-east-1.amazonaws.com/2020-06-30/functions/app-jack-next--rpc--api-auth/code-signing-config","http.user_agent":"APN/1.0 HashiCorp/1.0 Terraform/0.11+compatible (+https://www.terraform.io) terraform-provider-aws/5.94.1 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.36.3 ua/2.1 os/macos lang/go#1.23.7 md/GOOS#darwin md/GOARCH#arm64 api/lambda#1.71.0 m/n","net.peer.name":"lambda.us-east-1.amazonaws.com","rpc.method":"GetFunctionCodeSigningConfig","rpc.service":"Lambda","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

◓  Deploying the stacks to AWS..{"@caller":"github.com/hashicorp/aws-sdk-go-base/[email protected]/logging/tf_logger.go:45","@level":"debug","@message":"HTTP Response Received","@module":"aws","@timestamp":"2025-04-15T22:24:22.602223+02:00","aws.region":"us-east-1","http.duration":155,"http.response.body":"{\"CodeSigningConfigArn\":null,\"FunctionName\":null}\n","http.response.header.content_type":"application/json","http.response.header.date":"Tue, 15 Apr 2025 20:24:22 GMT","http.response.header.x_amzn_requestid":"4a058b4c-90ab-482d-a51b-03ef76c85a15","http.response_content_length":49,"http.status_code":200,"rpc.method":"GetFunctionCodeSigningConfig","rpc.service":"Lambda","rpc.system":"aws-api","tf_aws.sdk":"aws-sdk-go-v2","tf_aws.signing_region":"","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

{"@caller":"github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:970","@level":"trace","@message":"Called downstream","@module":"sdk.helper_schema","@timestamp":"2025-04-15T22:24:22.603845+02:00","tf_mux_provider":"*schema.GRPCProviderServer","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:42","@level":"trace","@message":"Received downstream response","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:22.605091+02:00","diagnostic_error_count":0,"diagnostic_warning_count":0,"tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_duration_ms":7107,"tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

{"@caller":"github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:879","@level":"trace","@message":"Served request","@module":"sdk.proto","@timestamp":"2025-04-15T22:24:22.605175+02:00","tf_proto_version":"5.8","tf_provider_addr":"registry.terraform.io/hashicorp/aws","tf_req_id":"18815ee9-d57b-91fa-b099-451b13fabdec","tf_resource_type":"aws_lambda_function","tf_rpc":"ApplyResourceChange"}

GenAI / LLM Assisted Development

n/a

Important Facts and References

No response

Would you like to implement a fix?

No

@ivands ivands added the bug Addresses a defect in current functionality. label Apr 15, 2025
Copy link

Community Guidelines

This comment is added to every new Issue to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀

Voting for Prioritization

  • Please vote on this Issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
  • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
  • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Issue and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.

@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Apr 15, 2025
@justinretzolk
Copy link
Member

Hey @ivands 👋 Thank you for taking the time to raise this!

I'm not using terraform.
I'm using the AWS provider (5.94.1) directly.

Can you provide a bit more context on what you're doing? Generally speaking, we only support using the provider with Terraform itself, so I'm not sure how much we'll be able to help in this case. Looking at the logging you provided, it would seem as though the provider was able to create the resource just fine (which seems validated by your mention that the resource gets created), so I worry that whatever you're doing to use the provider without Terraform may be the root cause of the issue.

@justinretzolk justinretzolk added waiting-response Maintainers are waiting on response from community or contributor. service/lambda Issues and PRs that pertain to the lambda service. labels Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. needs-triage Waiting for first response or review from a maintainer. service/lambda Issues and PRs that pertain to the lambda service. waiting-response Maintainers are waiting on response from community or contributor.
Projects
None yet
Development

No branches or pull requests

2 participants