gruntwork-io / cloud-nuke

A tool for cleaning up your cloud accounts by nuking (deleting) all resources within it
https://gruntwork.io/
MIT License
2.81k stars 358 forks source link

port SQS & SNS to awsSDKv2 #769

Closed wakeful closed 1 month ago

wakeful commented 1 month ago

Description

TODOs

Read the Gruntwork contribution guidelines.

Release Notes (draft)

Updated SQS & SNS to AWS SDK v2. Added AWS SDK v2 migration report.

Migration Guide

n/a

wakeful commented 1 month ago

Hi @wakeful, thanks for the contribution. Can you explain why we want to migrate everything to SDK v2? That would be quite a lot of work.

hey @james03160927

As I mentioned in #745, the AWS SDK v1 is officially deprecated (end-of-support is July 31, 2025). This is the first PR to show how easy the migration is and to provide some visibility (report generator).

I agree that this migration is quite a lot of work, yet this tool is vital for many of my projects (and possibly for others as well).

I have patches ready for a few more services (I'm currently testing them in my own environment).

james03160927 commented 1 month ago

Hi @wakeful, thanks for the contribution. Can you explain why we want to migrate everything to SDK v2? That would be quite a lot of work.

hey @james03160927

As I mentioned in #745, the AWS SDK v1 is officially deprecated (end-of-support is July 31, 2025). This is the first PR to show how easy the migration is and to provide some visibility (report generator).

I agree that this migration is quite a lot of work, yet this tool is vital for many of my projects (and possibly for others as well).

I have patches ready for a few more services (I'm currently testing them in my own environment).

  • API GWv1
  • API GWv2
  • ASG
  • access_analyzer
  • acm
  • acmpca
  • ami
  • appRunner
  • backup vault
  • cloudTrail
  • cloudWatch alarm
  • cloudWatch dashboard
  • cloudWatch logGroup
  • codeDeploy Application
  • config recorder
  • config service
  • dataSync location
  • dataSync task
  • dynamodb

Got it. Thanks for the context. If that's the case, I can definitely help migrating over remaining services to version V2.

james03160927 commented 1 month ago

Also created an issue for me to keep track of the progress. https://github.com/gruntwork-io/cloud-nuke/issues/770

james03160927 commented 1 month ago

I can help to migrate changes from bottom up since it seems like you are doing form top to bottom.