I'm attempting to create a CloudFormation stack and am getting the following error:
A client error (ValidationError) occurred when calling the CreateStack operation: Template error: every Ref object must have a single String value.
However, when I grep the template looking for Ref
objects they are all Strings except for a single lookup which looks like
{
"Ref": {
"Fn::FindInMap": [
"InfraMap",
"SecurityGroups",
"NATSecurityGroup"
]
}
}
The value for this reference is "NATSecurityGroup": "sg-54e6be30",
which seems OK to me.
Any other thoughts on what this error could be referring to?