无服务器部署错误配置堆栈
Serverless deploy error provisionning stack
当我尝试在 AWS 上部署我的应用程序时,出现以下错误:
An error occurred while provisioning your stack: HelloLambdaFunction -
Lambda was unable to configure your environment variables because the
environment variables you have provided contains reserved keys that
are currently not supported for modification. Reserved keys used in
this request: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY.
我的 AWS_ACCESS_KEY_ID、AWS_SECRET_ACCESS_KEY 存储在 env.yml 中,我使用 process.env.AWS_ACCESS_KEY_ID
访问它们
我该如何解决这个错误?
我会尝试从配置中删除这些密钥,看看会发生什么。
当我尝试在 AWS 上部署我的应用程序时,出现以下错误:
An error occurred while provisioning your stack: HelloLambdaFunction - Lambda was unable to configure your environment variables because the environment variables you have provided contains reserved keys that are currently not supported for modification. Reserved keys used in this request: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY.
我的 AWS_ACCESS_KEY_ID、AWS_SECRET_ACCESS_KEY 存储在 env.yml 中,我使用 process.env.AWS_ACCESS_KEY_ID
访问它们我该如何解决这个错误?
我会尝试从配置中删除这些密钥,看看会发生什么。