Skip to content

CloudSearch domains not found by scan #113

@leflamm

Description

@leflamm

Hi,

It seems like AWS CloudSearch domains aren't found by a scan operation. It doesn't matter if I provide an ARN pattern or a specific ARN. For a lot of other AWS resources it works fine.

$ aws cloudsearch --region eu-central-1 list-domain-names
{
    "DomainNames": {
        "dev-cloudsearch": "2013-01-01"
    }
}
$ aws cloudsearch --region eu-central-1 describe-domains | jq .DomainStatusList[0].ARN
"arn:aws:cloudsearch:eu-central-1:182674520467:domain/dev-cloudsearch"
#!/usr/bin/python

import sys
from skew import scan

for arg in sys.argv:
	arn = scan(arg)
    	for resource in arn:
        	print(resource)
  • nothing: $ ./list-by-arn.py arn:aws:cloudsearch:::domain/*
  • nothing: $ ./list-by-arn.py arn:aws:cloudsearch:eu-central-1:182674520467:domain/dev-cloudsearch
  • works fine: $ ./list-by-arn.py arn:aws:ec2:::instance/*
  • works fine: $ ./list-by-arn.py arn:aws:s3:::bucket/*

Is CloudSearch not supported?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions