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?
Hi,
It seems like AWS CloudSearch domains aren't found by a
scanoperation. 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" } }$ ./list-by-arn.py arn:aws:cloudsearch:::domain/*$ ./list-by-arn.py arn:aws:cloudsearch:eu-central-1:182674520467:domain/dev-cloudsearch$ ./list-by-arn.py arn:aws:ec2:::instance/*$ ./list-by-arn.py arn:aws:s3:::bucket/*Is CloudSearch not supported?