debian-forge-composer/internal/cloud/awscloud
Sanne Raymaekers 5eb8227bf3 cloud/awscloud: retry CreateFleet regardless of the error code
The errors returned by create fleet are not entirely clear. It seems it
also returns `InsufficientInstanceCapacity` in addition to
`UnfulfillableCapacity`. Let's just retry three times regardless of the
create fleet error, that way there's no need to chase error codes which
aren't clearly defined.
2024-10-15 16:04:19 +02:00
..
autoscaling.go osbuild-worker: use aws sdk v2 for asg scale-in protection 2024-08-20 15:32:40 +02:00
awscloud.go osbuild-worker: use aws sdk v2 for asg scale-in protection 2024-08-20 15:32:40 +02:00
awscloud_test.go cloud/awscloud: add tests for ec2 operations 2024-08-20 15:32:40 +02:00
client-interfaces.go osbuild-worker: use aws sdk v2 for asg scale-in protection 2024-08-20 15:32:40 +02:00
export_test.go cloud/awscloud: switch s3 to v2 sdk 2024-08-20 15:32:40 +02:00
mocks_test.go cloud: fixed typo UnfulfillableCapacity 2024-09-26 18:09:45 +02:00
secure-instance.go cloud/awscloud: retry CreateFleet regardless of the error code 2024-10-15 16:04:19 +02:00
secure-instance_test.go cloud/awscloud: retry CreateFleet regardless of the error code 2024-10-15 16:04:19 +02:00