-
Notifications
You must be signed in to change notification settings - Fork 549
Better validation of YAML? #1104
Copy link
Copy link
Closed
Description
Describe the Bug
Resources are fetched from all regions, not the regions specified in config.
Expected Behavior
resources should only be fetched from the resources specified in config
CloudQuery Version
Version: 0.30.0
provider version: v0.12.25
Steps to Reproduce
cloudquery:
providers:
- name: aws
version: latest
connection:
type: postgres
username: postgres
password: pass
host: localhost
port: 5432
database: postgres
sslmode: disable
providers:
# provider configurations
- name: aws
configuration:
# Optional, Repeated. Add an accounts block for every account you want to assume-role into and fetch data from.
# accounts:
# - id: <UNIQUE ACCOUNT IDENTIFIER>
# Optional. Role ARN we want to assume when accessing this account
# role_arn: < YOUR_ROLE_ARN >
# Optional. Named profile in config or credential file from where CQ should grab credentials
# local_profile: < PROFILE_NAME >
# Optional. by default assumes all regions
regions:
- eu-west-3
# Optional. Enable AWS SDK debug logging.
# aws_debug: false
# The maximum number of times that a request will be retried for failures. Defaults to 10 retry attempts.
# max_retries: 10
# The maximum back off delay between attempts. The backoff delays exponentially with a jitter based on the number of attempts. Defaults to 30 seconds.
# max_backoff: 30
#
# list of resources to fetch
resources:
- ec2.vpcs
- ec2.instances
Additional Context
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels