Title: Can we delete the cloudformation file after migrating to the cdk?
Tags: aws-cdk
Question: We're looking at migrating our toolchain to using the CDk. We currently use cloudformation files to generate stacks for our various apps.
For a given app, we currently have the following structure:
```|- cloudformation/
  |- cloudformation.json
|- src/
```
We want to be able to use the same cloudfromation stack but remove the ```cloudformation.json``` file.
Looking at this: https://aws.amazon.com/blogs/developer/migrating-cloudformation-templates-to-the-aws-cloud-development-kit/
It seems that the preferred way to migrate to using the cdk for a given app is to keep the cloudformation file and import it into the cdk. Then any new changes we need to make are done in the cdk stack.
I tried the instructions in the blog post, but when I went to delete the old cloudformation file, it wouldn't work(obviously).
Is there a way to delete the cloudformation file? Or is the expectations for migrating to the cdk that the cloudformation file sticks around?



Here is another answer: The suggestion seems to be to abandon your old git project and maintain things in new one. Is that hard for your use case?

Comment for this answer: yeah, we have multiple projects that are years old. Right now we're looking at the trade offs between keep around the "old" cloudformation stack(just importing cloudformation.json into the cdk) and creaking a new stack that's just using the CDK.

{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2021:00:06/04/21', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<aws-cdk>', 'Title': 'Can we delete the cloudformation file after migrating to the cdk?', 'ViewCount': 40, 'id': 67842252, 'user_AboutMe': None, 'user_AccountId': 10881222.0, 'user_DisplayName': 'Edward Soto', 'user_Reputation': 91.0, 'user_Views': 8.0, 'user_id': 8000066.0}}