I’m having trouble deploying a service that simply...
# seed
r
I’m having trouble deploying a service that simply creates a redis instance (named
CoreRedis
of type AWS:ElastiCache:CacheCluster) and sets a few SSM parameters based on the newly created instance. It’s throwing the error
Copy code
The CloudFormation template is invalid: Template error: resource CoreRedis does not support attribute type RedisEndpoint in Fn::GetAtt
I’m not sure why it’s getting flagged as an invalid template or complaining about
AWS::ElastiCache::CacheCluster !GetAtt CoreRedis.RedisEndpoint.(Address|Port)
because that’s exactly how it’s specified in the AWS docs - any ideas?
AWS Docs:
This works with a normal sls deploy as well
f
Hey @Robert Wettlaufer can you check if you are using the same SLS version locally and on Seed?
r
apparently it doesn’t like this syntax:
Value: !GetAtt CoreRedis.RedisEndpoint.Address
I had to use:
Copy code
Value:
        Fn::GetAtt:
        - CoreRedis
        - RedisEndpoint.Address
but finally got it deployed!
well this service anyways 🙂