How should I lookup the endpoint of an existing El...
# general
m
How should I lookup the endpoint of an existing ElasticSearch cluster?
b
Hi @modern-bear-85657 Is this an existing ElasticSearch cluster not managed by Pulumi?
m
Yes. We’re in the process of converting our existing automation to Pulumi. So, we’re doing a lot of lookups.
b
There is no way to do a specific lookup for ElasticSearch Domain - but you could import this into pulumi management and then be able to use it
m
I found this:
Copy code
const es = new <http://AWS.ES|AWS.ES>({ region })
    const domain = await es.describeElasticsearchDomain({ DomainName: `my-cluster` }).promise()
Something similar should be added to pulumi.