Open AdityaBanik opened 5 days ago
MyWebCdnDistribution sdk-v2/provider2.go:509: sdk.helper_schema: creating CloudFront Distribution: operation error CloudFront: CreateDistributionWithTags, https response error StatusCode: 400, RequestID: c02658b9-bf27-4142-80eb-dcfde2894aa1, InvalidLambdaFunctionAssociation: The function cannot have environment variables. Function: arn:aws:lambda:us-east-1:913524907086:function:cyclixfrontend-production-MyWebEdgeServerFunction:4: provider=aws@6.54.1 MyWebCdnDistribution 1 error occurred:
can you also share the related parts of your SST config? I have lambdas with env variables that are working fine with 3.5.51
MyWebCdnDistribution sdk-v2/provider2.go:509: sdk.helper_schema: creating CloudFront Distribution: operation error CloudFront: CreateDistributionWithTags, https response error StatusCode: 400, RequestID: c02658b9-bf27-4142-80eb-dcfde2894aa1, InvalidLambdaFunctionAssociation: The function cannot have environment variables. Function: arn:aws:lambda:us-east-1:913524907086:function:cyclixfrontend-production-MyWebEdgeServerFunction:4: provider=aws@6.54.1 MyWebCdnDistribution 1 error occurred: