DOCS-1134 improving deployment of cloudformation templates