I’ve already resolved this issue but I was banging my head against the wall for a while so thought I’d post it here.
My serverless service would deploy fine when using sls deploy from the command line but failed when I was using seed to manage the deployment.
The error was … The CloudFormation template is invalid: Template error: resource xxxxxxxx does not support attribute type Endpoint in Fn::GetAtt. The YML for this looked like …
RDSEndpoint:
Value:
Fn::GetAtt:
- DBInstance
- Endpoint.Address
Export:
Name: my-app-${self:custom.stage}-RDSEndpoint
It turns out the answer was to put double quotes around "Endpoint.Address"
.
Hope that helps someone.