[英]serverless - AWS Lambda scala example
I am trying to deploy with serverless a scala project on AWS lambda. 我正在尝试使用无服务器部署AWS lambda上的scala项目。 I have followed the tutorial and used this template where I have only replace the default region with
eu-central-1a
which is where I am based. 我已经按照教程使用了这个模板 ,我只用我所在的
eu-central-1a
替换了默认区域。
I get the error 我收到了错误
ServerlessError: Inaccessible host:
cloudformation.eu-central-1a.amazonaws.com'. This service may not be available in the
无服务器错误:无法访问的主机:
cloudformation.eu-central-1a.amazonaws.com'. This service may not be available in the
cloudformation.eu-central-1a.amazonaws.com'. This service may not be available in the
eu-central-1a' region.cloudformation.eu-central-1a.amazonaws.com'. This service may not be available in the
eu-central-1a'地区cloudformation.eu-central-1a.amazonaws.com'. This service may not be available in the
。
I could not see any hint of cloudformation not being available in our target region. 我看不到目标区域中没有任何可用的云形变。
The string eu-central-1a
doesn't represent a region, it represents an availability zone within a region. 字符串
eu-central-1a
不代表区域,它表示区域内的可用区域。 You should be using the string eu-central-1
to refer to the region. 您应该使用字符串
eu-central-1
来引用该区域。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.