Executando verificação de segurança...
1
Leoted
1 min de leitura ·

AWS lamda dando erro

Estou criando um teste na AWS, com minha conta gratuita. Eu criei uma função lambda simples, com o template básico do cloudfront, e uma divisão no cloudfront, configurado com um bucket do S3. Mas quando tentei acessar o domínio da minha distribuição, recebi o seguinte erro:

503 ERROR The request could not be satisfied. The Lambda function associated with the CloudFront distribution is invalid or doesn't have the required permissions. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

Algúem sabe o que pode estar gerando esse erro e como concertar?

Carregando publicação patrocinada...
1

compartilha o códido ou o template ou os dois.

pelo jeito é permissão, onde está estourando o erro? no cloudfront mesmo?