Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added uncdk to fmt command #626

Merged
merged 6 commits into from
Jan 9, 2025
Merged

Conversation

ericzbeard
Copy link
Contributor

@ericzbeard ericzbeard commented Jan 8, 2025

rain fmt --uncdk removes CDK Metadata and simplifies logical IDs from templates that were generated with cdk synth. This can be useful for pipelines where CDK is used strictly as a code generator and the templates are deployed separately, or if you use CDK as a starting point for declarative YAML CloudFormation development.

This command only looks at a single template. The rain merge command can be used to stitch together separate templates from CDK output.

@ericzbeard ericzbeard merged commit 6c651fd into aws-cloudformation:main Jan 9, 2025
1 check passed
@ericzbeard ericzbeard deleted the uncdk branch January 9, 2025 23:40
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jan 22, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [aws-cloudformation/rain](https://github.com/aws-cloudformation/rain) | minor | `v1.20.2` -> `v1.21.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>aws-cloudformation/rain (aws-cloudformation/rain)</summary>

### [`v1.21.0`](https://github.com/aws-cloudformation/rain/releases/tag/v1.21.0)

[Compare Source](aws-cloudformation/rain@v1.20.2...v1.21.0)

#### What's Changed

-   Add uncdk to fmt command by [@&#8203;ericzbeard](https://github.com/ericzbeard) in aws-cloudformation/rain#626
-   Add analytics to template Metadata by [@&#8203;ericzbeard](https://github.com/ericzbeard) in aws-cloudformation/rain#627
-   Version bump by [@&#8203;ericzbeard](https://github.com/ericzbeard) in aws-cloudformation/rain#628

#### Dependabot

-   Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by [@&#8203;dependabot](https://github.com/dependabot) in aws-cloudformation/rain#616
-   Bump nanoid from 3.3.7 to 3.3.8 in /test/webapp/site by [@&#8203;dependabot](https://github.com/dependabot) in aws-cloudformation/rain#614
-   docs: add markdown formatting to example text and link to example file by [@&#8203;Scribbd](https://github.com/Scribbd) in aws-cloudformation/rain#602
-   Bump github.com/aws/aws-sdk-go-v2/service/kms from 1.37.7 to 1.37.8 by [@&#8203;dependabot](https://github.com/dependabot) in aws-cloudformation/rain#624
-   Bump github.com/aws/aws-sdk-go-v2/service/servicequotas from 1.25.7 to 1.25.8 by [@&#8203;dependabot](https://github.com/dependabot) in aws-cloudformation/rain#622
-   Bump github.com/aws/aws-sdk-go-v2/service/cloudformation from 1.56.1 to 1.56.2 by [@&#8203;dependabot](https://github.com/dependabot) in aws-cloudformation/rain#621
-   Bump github.com/aws/aws-sdk-go-v2/service/lightsail from 1.42.7 to 1.42.8 by [@&#8203;dependabot](https://github.com/dependabot) in aws-cloudformation/rain#623
-   Bump github.com/aws/aws-sdk-go-v2/service/cloudcontrol from 1.23.2 to 1.23.3 by [@&#8203;dependabot](https://github.com/dependabot) in aws-cloudformation/rain#620

**Full Changelog**: aws-cloudformation/rain@v1.20.2...v1.21.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDAuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEwMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant