Skip to content

aws resource synchronization problem #4627

@songant

Description

@songant

Error synchronizing aws resources using cloudquery, the configuration is as follows:

aws.yml

kind: source
spec:

  name: "aws"
  path: "cloudquery/aws"

  version: "v5.1.1" # latest version of aws plugin

  destinations: ["postgresql"]

  spec:
    regions:
      - us-east-1
    accounts:
      - local_profile: "/Users/shareit/.aws/credentials"
        id: "XXX"
    aws_debug: true

/Users/shareit/.aws/credentials

[default]
aws_access_key_id = xxxxx
aws_secret_access_key = xxxxx

Execution error

Loading spec(s) from aws.yml, postgresql.yml
Starting migration for: aws -> [postgresql]
Migration completed successfully.
Starting sync for:  aws -> [postgresql]
Error: failed to sync source aws: failed to fetch resources from stream: rpc error: code = DeadlineExceeded desc = failed to sync resources: failed to create execution client for source plugin aws: error retrieving credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, canceled, context deadline exceeded

thanks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions