Tomáš Hozza
e7d8431489
internal/awscloud: use AWS.TerminateInstancesEC2() from osbuild/images
...
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-08-13 09:36:58 +02:00
Florian Schüller
65b7ee65b2
osbuild-service-maintenance: implement removal of launch templates
...
Launch templates of instances that are terminated should be removed.
HMS-3632
2024-12-10 11:43:51 +01:00
Florian Schüller
a96ea533c0
osbuild-service-maintenance: implement removal of security groups
...
Security groups of instances that are terminated should be removed.
HMS-3632
2024-12-10 11:43:51 +01:00
Florian Schüller
7ebe266d3c
osbuild-service-maintenance: implement removal on invalid parent
...
Add a safeguard to ensure secure instances without valid
parent instances are terminated, as they are unnecessary to retain.
Typically, the parent does not exist if the secure instance is
older than 2 hours, but this check provides additional validation.
HMS-3632
2024-12-10 11:43:51 +01:00
Sanne Raymaekers
4afcd8c3fd
cloud/awscloud: fix another nilpointer in maintenance functions
2024-10-25 17:46:49 +02:00
Sanne Raymaekers
6ccfc7f818
cloud/awscloud: fix nil pointer dereference in maintenance fns
...
The maintenance pod is crashing when describing the images by tag, most
likely something else is failing.
2024-10-24 12:05:42 +02:00
Sanne Raymaekers
1c7a276d6f
cloud/aws: add maintenance functions for secure instance cleanup
2024-10-23 10:32:57 +02:00
Sanne Raymaekers
8fc91d1c6d
cloud/aws: move maintenance calls to separate file
2024-10-23 10:32:57 +02:00