main: write cloudformation stuff