- 最新
- 最多得票
- 最多評論
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.
已回答 3 年前
Add FunctionConfig property to resolve the error. I had to add this property even though the documentation says it's optional.
已回答 5 年前
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
已回答 5 年前
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.
已回答 3 年前

Omg, thank you! This saved my bacon today.