API endpoint to resolve AWS ARN -> owning Spacelift stack(s)

Hey Spacelift team,

I have a feature request for an API endpoint to resolve AWS ARN -> owning Spacelift stack(s). We recently needed to triage hundreds of AWS ARNs and determine whether each resource is managed by Spacelift and by which stack. Today, the only workable path we found was to ingest all stacks + entities and build a local index ourselves to query. A native ARN lookup API would be a big improvement and would dramatically reduce API load (for us, from thousands of requests to effectively 1 lookup flow).

Workaround
Yes. API call to fetch all stacks. Then API call to fetch all stack entities. Flatten the json and dump to a local DB to query resources locally.
Problem
Determine if an AWS Resource Name is managed by Spacelift and if so by which stack.

Please authenticate to join the conversation.

Upvoters
Status

πŸ‘€ In Review

Board

πŸ’‘ Feature Requests

Tags

Contexts

Date

1 day ago

Subscribe to post

Get notified by email when there are changes.