Update CloudFormation to support the latest API.