chalice.package.TerraformGenerator: use create_before_destroy
chalice.package.TerraformGenerator: use create_before_destroy

In the Terraform aws_api_gateway_deployment resource, use the
`lifecycle.create_before_destroy: True` option as described in
https://github.com/hashicorp/terraform/issues/10674.

Fixes #1237

awslabs/chalice