Skip to content

TypeError: get_awsclient() got an unexpected keyword argument 'aws_creds' #79

@vapniks

Description

@vapniks

I downloaded skew using pip and tried the script mentioned here: https://stackoverflow.com/questions/30674938/how-to-progammatically-list-all-aws-resources-and-tags
and I get the following error:

/usr/local/lib/python2.7/dist-packages/skew/resources/resource.pyc in enumerate(cls, arn, region, account, resource_id, aws_creds)
     26     def enumerate(cls, arn, region, account, resource_id=None, aws_creds=None):
     27         client = skew.awsclient.get_awsclient(
---> 28             cls.Meta.service, region, account, aws_creds=aws_creds)
     29         kwargs = {}
     30         do_client_side_filtering = False

TypeError: get_awsclient() got an unexpected keyword argument 'aws_creds'

My .skew file looks like this:

accounts:
  "<ACCOUNTID>":
    profile: default

(with replaced with the actual ID).

I also tried altering my aws-cli config to change the default profile to a named one but got the same error.

Metadata

Metadata

Assignees

No one assigned

    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