-
Notifications
You must be signed in to change notification settings - Fork 550
Support configuration of service endpoints #1381
Copy link
Copy link
Closed
Description
I would like to run CloudQuery against alternative endpoints, primarily for testing purposes. This would allow running CloudQuery against something like localstack to accelerate testing.
To facilitate this, the AWS SDKs allow supplying a map of service names to endpoints. To expose this option to CloudQuery, the AWS provider would need it's config schema updated to allow specifying this mapping, and the client initialization logic will need to support the EndpointResolver.
The Terraform AWS provider is a great reference for this. It allows configuration such as the following:
provider "aws" {
endpoints {
dynamodb = "http://localhost:4569"
s3 = "http://localhost:4572"
}
}
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels