# AWS API Gateway Changes Break Deployment
> [!META]- Inline Metadata
> [status:: boat]
> [source:: ]
> [tags:: #note/evergreen #state/boat #concepts/aws/api-gateway #concepts/aws/cdk ]
> [up:: [[AWS MOC]]]
If you try to rename a parameter in a deployed API Gateway object via CDK, deployment will break (you won't be able to deploy the change). This seems to do with how CloudFormation diffs are applied, and it will cause a conflict during the deployment process (see [here](https://stackoverflow.com/questions/62346608/aws-lambda-rest-api-a-sibling-id-of-this-resource-already-has-a-variable-pa)). The workaround is to comment out all the API code in the CDK stack, deploy, then uncomment and redeploy. This removes and remakes the API.
- ![[SAM-90 Instagram Reharvest Service#^2p5j0h]]