I'm scanning an AWS account for resources that I'v...
# aws
l
I'm scanning an AWS account for resources that I've set up in another Pulumi project (it's a demo, this isn't anything I'd do in anger 🙂 ). Focusing just on my API gateway resources: it's finding my stage, my RestApi, and a few other resources, but it's not finding my Deployment, or my all-important Integrations, Methods and MethodResponses which actually implement the logic and mappings. Is this is known issue? Is there a way to prompt the scan to find more resources? (Pinging @billowy-telephone-40262 because.. community helper for the week!)
Snippet of the import log:
Copy code
[INFO] enumerating resources {"type":"aws:apigateway/restApi:RestApi"}
[INFO] fetched resources page {"type":"aws:apigateway/restApi:RestApi","count":1}
[INFO] enumerating resources {"type":"aws:apigateway/resource:Resource"}
[INFO] fetched resources page {"type":"aws:apigateway/resource:Resource","count":2}
[INFO] finished enumerating resources {"type":"aws:apigateway/resource:Resource","total":2}
[INFO] enumerating resources {"type":"aws:apigateway/stage:Stage"}
[INFO] fetched resources page {"type":"aws:apigateway/stage:Stage","count":1}
[INFO] finished enumerating resources {"type":"aws:apigateway/stage:Stage","total":1}
[INFO] enumerating resources {"type":"aws:apigateway/restApiPolicy:RestApiPolicy"}
[INFO] fetched resources page {"type":"aws:apigateway/restApiPolicy:RestApiPolicy","count":1}
[INFO] finished enumerating resources {"type":"aws:apigateway/restApiPolicy:RestApiPolicy","total":1}
[INFO] enumerating resources {"type":"aws:apigateway/model:Model"}
[INFO] fetched resources page {"type":"aws:apigateway/model:Model","count":2}
[INFO] finished enumerating resources {"type":"aws:apigateway/model:Model","total":2}
[INFO] enumerating resources {"type":"aws:apigateway/requestValidator:RequestValidator"}
w
It looks like these:
integration, method, methodResponse
are not supported right now. We will look into supporting them! Deployments, are you seeing the v2 api gateway deployment? type:
aws:apigatewayv2/deployment:Deployment
l
Ah interesting. Where do I see the list of supported assets? Is it in an open source repo?
w
unfortunately it is not listed anywhere public. That is a good point. I will take this back to the team.
👍 1
l
I don't see anything from apigatewayv2; I see it scans for Api, DomainName and VpcLink but I don't have any of those.
w
ok I see I will follow up with the team. Thank you for sharing!
👍 1