Issue #3189450 by Xiaohua Guan, yas: Fix an Internal Server Error while refreshing AWS Launch Template
Closes #3189450