Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws.dynamodb.limits {*} ERROR - could not convert []interface {} to aws.dynamodb.limit #2895

Closed
scottford-io opened this issue Dec 20, 2023 · 1 comment
Labels
aws bug Something isn't working

Comments

@scottford-io
Copy link
Contributor

Describe the bug

cnspec> aws.dynamodb {*}
! error accessing region for AWS API region=eu-west-3
! error accessing region for AWS API region=eu-west-2
! error accessing region for AWS API region=eu-west-1
! error accessing region for AWS API region=eu-north-1
! error accessing region for AWS API region=ap-south-1
! error accessing region for AWS API region=ca-central-1
! error accessing region for AWS API region=ap-northeast-3
! error accessing region for AWS API region=ap-northeast-1
! error accessing region for AWS API region=ap-northeast-2
! error accessing region for AWS API region=us-east-1
! error accessing region for AWS API region=ap-southeast-2
! error accessing region for AWS API region=ap-southeast-1
! error accessing region for AWS API region=sa-east-1
! error accessing region for AWS API region=eu-central-1
! error accessing region for AWS API region=us-west-1
! error accessing region for AWS API region=us-east-2
! error accessing region for AWS API region=us-west-2
1 error occurred:
	* could not convert []interface {} to aws.dynamodb.limit
aws.dynamodb: {
  tables: [
    0: aws.dynamodb.table name="app-state" region="us-east-1"
    1: aws.dynamodb.table name="tf-remote-state-lock" region="us-east-1"
    2: aws.dynamodb.table name="tf-state-lock-usable-bull" region="us-east-1"
    3: aws.dynamodb.table name="zenodotus" region="us-east-1"
    4: aws.dynamodb.table name="tf-state-lock-usable-bull" region="us-west-1"
  ]
  limits: could not convert []interface {} to aws.dynamodb.limit
  globalTables: []
  backups: []
}
@scottford-io scottford-io added bug Something isn't working aws labels Dec 20, 2023
@tas50
Copy link
Member

tas50 commented Jan 6, 2024

I can't repro this one in the same account:

cnquery> aws.dynamodb {*}
aws.dynamodb: {
  tables: [
    0: aws.dynamodb.table name="app-state" region="us-east-1"
    1: aws.dynamodb.table name="tf-remote-state-lock" region="us-east-1"
    2: aws.dynamodb.table name="tf-state-lock-usable-bull" region="us-east-1"
    3: aws.dynamodb.table name="zenodotus" region="us-east-1"
    4: aws.dynamodb.table name="tf-state-lock-usable-bull" region="us-west-1"
  ]
  limits: [
    0: aws.dynamodb.limit arn="arn:aws:dynamodb:ap-south-1:1234567"
    1: aws.dynamodb.limit arn="arn:aws:dynamodb:eu-north-1:1234567"
    2: aws.dynamodb.limit arn="arn:aws:dynamodb:eu-west-3:1234567"
    3: aws.dynamodb.limit arn="arn:aws:dynamodb:eu-west-2:1234567"
    4: aws.dynamodb.limit arn="arn:aws:dynamodb:eu-west-1:1234567"
    5: aws.dynamodb.limit arn="arn:aws:dynamodb:ap-northeast-3:1234567"
    6: aws.dynamodb.limit arn="arn:aws:dynamodb:ap-northeast-2:1234567"
    7: aws.dynamodb.limit arn="arn:aws:dynamodb:ap-northeast-1:1234567"
    8: aws.dynamodb.limit arn="arn:aws:dynamodb:ca-central-1:1234567"
    9: aws.dynamodb.limit arn="arn:aws:dynamodb:sa-east-1:1234567"
    10: aws.dynamodb.limit arn="arn:aws:dynamodb:ap-southeast-1:1234567"
    11: aws.dynamodb.limit arn="arn:aws:dynamodb:ap-southeast-2:1234567"
    12: aws.dynamodb.limit arn="arn:aws:dynamodb:eu-central-1:1234567"
    13: aws.dynamodb.limit arn="arn:aws:dynamodb:us-east-1:1234567"
    14: aws.dynamodb.limit arn="arn:aws:dynamodb:us-east-2:1234567"
    15: aws.dynamodb.limit arn="arn:aws:dynamodb:us-west-1:1234567"
    16: aws.dynamodb.limit arn="arn:aws:dynamodb:us-west-2:1234567"
  ]
  globalTables: []
  backups: []
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants