Commit Graph
8 Commits
Author SHA1 Message Date
Gavin Frazar ee119ea6d6 Remove remaining db and discovery AWS SDK imports (#51628)
This eliminates all remaining references to AWS SDK v1 in the
lib/srv/db/... and lib/srv/discovery/... packages.
Most of the changes are simply to remove dead code.
2025-01-30 23:06:09 +00:00
Gavin Frazar cf15fa349c Migrate IAM in lib/cloud/clients to SDK v2 (#51145) 2025-01-17 18:22:28 +00:00
Marco Dinis 4b2a0da91d Fix AWS ListDeployedDatabaseServices when there's no ECS Cluster (#50843)
Calling the AWS API `ecs:ListServices` with a non-existent ECS Cluster
name will return a 400 w/ ClusterNotFoundException.

The existing code was not handling that error and a raw error was
returned.

This PR changes the logic to ensure that case is handled and that the
ListDeployedDatabaseServices returns an empty list.

An alternative would be to call the ListClusters beforehand, but that
would increase the number of API calls we do to external services.
2025-01-09 09:45:41 +00:00
Andrew Burke 98ba4c9673 Migrate discovery EC2 clients to AWS SDK v2 (#48950)
This change migrates the EC2 clients used in the discovery service
to the v2 AWS SDK.
2024-11-19 19:02:53 +00:00
Gavin Frazar 9694550f5e migrate aws configurator to sdk v2 (#46367)
* migrate aws configurator to sdk v2

* rename package imports with lowercase

* export iam client interface

* mock loading aws config

* remove underscore from test name

* remove loop var reassignment
2024-09-09 21:17:30 +00:00
fheinecke b178b8b732 Updated Teleport codebase to AGPL3 license (#35259)
Signed-off-by: Fred Heinecke <fred.heinecke@goteleport.com>
2023-12-01 17:48:14 +00:00
STeve (Xin) Huang e2320d7950 Fix AccessDenied not recognized for MemoryDB/RSSL API calls (#30226) 2023-08-10 13:04:47 +00:00
Marco André Dinis e043ac07ea AWS OIDC - DeployService: configure IAM (#28088)
* auto configure deployservice iam

* review pt1

* review pt2
2023-06-30 18:35:29 +00:00