This repository was archived by the owner on Oct 15, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds additional Lightsail resources for cleanup via the Cloud Control API. This mimics the approach taken in #937 for adding ECR resources. Following this change, the output for
go run ./dev/list-cloudcontrol
would be the following:$ go run ./dev/list-cloudcontrol ... # Snipped irrelevant resources from output AWS::Lightsail::Alarm is only covered by AWS::Lightsail::Alarm AWS::Lightsail::Bucket is only covered by AWS::Lightsail::Bucket AWS::Lightsail::Certificate is only covered by AWS::Lightsail::Certificate AWS::Lightsail::Container is only covered by AWS::Lightsail::Container AWS::Lightsail::Database is only covered by AWS::Lightsail::Database AWS::Lightsail::Disk is also covered by LightsailDisk AWS::Lightsail::Distribution is only covered by AWS::Lightsail::Distribution AWS::Lightsail::Instance is also covered by LightsailInstance AWS::Lightsail::LoadBalancer is also covered by LightsailLoadBalancer AWS::Lightsail::LoadBalancerTlsCertificate is only covered by AWS::Lightsail::LoadBalancerTlsCertificate AWS::Lightsail::StaticIp is also covered by LightsailStaticIP ...