- Más nuevo
- Más votos
- Más comentarios
I encountered this issue even when FunctionCode and FunctionConfig present. It turns out to be an existing Function created at the previous CloudFormation deployment, when updating via Change Sets, it may cause this error.
Without further error messages, my educated guess is that the internal comparison of the change set returns an empty diff.
Changing the Name is our current workaround.
respondido hace 3 años
Add FunctionConfig property to resolve the error. I had to add this property even though the documentation says it's optional.
respondido hace 5 años
I'm seeing the same thing. What do you have for your FunctionCode block? I have tried fileb://filename.js and filename.js and the yaml multi line like FunctionCode: | (lines of javascript) with the same results.
Edited by: acaird on Sep 1, 2021 8:39 AM
respondido hace 5 años
In my case, I got that error message because I already had another cloudfront function with the same name that I was trying to create.
respondido hace 3 años
Contenido relevante
preguntada hace 9 meses
preguntada hace 9 meses
preguntada hace un año

Omg, thank you! This saved my bacon today.