Setting up an AWS Integration
Last updated
Was this helpful?
Last updated
Was this helpful?
CloudQuery Platform supports authentication with AWS through (IRSA).
The AWS accounts involved are:
CloudQuery Account: This is the AWS account where CloudQuery Platform is deployed. This account hosts the IAM role that CloudQuery uses to assume roles in other accounts.
Your Account: This is the AWS account that you want to sync resources from. This account will have a role that allows the CloudQuery account's role to assume and read resources.
Before starting, configure the following environment variables - the account ID (this will be provided by the CloudQuery team) and the sub-domain of your installation.
An external ID should be added as recommended by to provide an additional verification layer when assuming roles in a third-party account. This can be any alphanumeric string between 2 and 1224 characters, but in this example we use a UUID.
Create the trust relationship for the cross-account role:
Create the cross-account role and attach the ReadOnly policy:
Continue to Creating AWS Integration
Navigate to Data Pipelines → Integrations in CloudQuery Platform
Click Create Integration and select AWS.
Update the YAML configuration to sync to either a single account or multiple accounts e.g.
Click Test Connection to verify the setup
To automatically deploy the required roles across accounts within an organization clone the repository
With your AWS integration created, you can now proceed to use it in a . This will give you the opportunity to specify when your AWS sync should be run, and to which destination databases.