Daniel Mil

Results 57 comments of Daniel Mil

Since we now have native support for a different bundler (esbuild) as mentioned by @super132, and we haven't had much recent traction on this issue I will resolve. Please re-open...

Hey @vamsikrishna507, does this network call succeed if you run your code outside of SAM CLI (and outside of a container)?

Hey @morgan-dgk, like you mentioned, resolving that intrinsic isn't something currently supported. It is probably a good idea to document which cases are/aren't supported like you mentioned. Let me bring...

This case should already be supported. Can you try changing the ``` !GetAtt: - LambdaAuthorizerFunc - ARN ``` to ``` !GetAtt: - LambdaAuthorizerFunc - Arn ```

There also shouldn't be the colon after the `!GetAtt` (I missed that the first time). So it should be ``` !GetAtt - LambdaAuthorizerFunc - Arn ```

Thanks @AlexMayleRdn. I agree, we should handle this case better and definitely shouldn't crash. I've marked this as a bug for prioritization.

Are you able to use the `sam local` functionality in the meantime until we resolve this issue?

For reference, we have done something similar for Lambda functions to skip trying to build a non-buildable artifact. We need to do the same thing for layers https://github.com/aws/aws-sam-cli/pull/5222

Thanks @mirumirumi. Seems like this field can be a string or array which we need to handle in our schema generation. I will mark this down as a bug and...