This message was deleted.
# general
s
This message was deleted.
b
This is how the OpenSearch domain is configured. For some reason, the
domainName
config key is required (unlike in all other resources):
Found this (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/opensearch_domain) so I guess this question is more towards Terraform, rather than Pulumi. It still makes things a lot more complicated 😞
b
Are you asking why there's a random suffix? Or why there isn't one?
b
Why there isn’t one. ElasticSearch has one, which is great (we got used to this commodity of not having to worry about uniqueness of resources). But OpenSearch resource doesn’t generate one, which is an issue.
b
Got it, you can create one using the random provider and append it to the name as a workaround, but could you cut an issue for this so we can add the randomness back in the provider?
🙌 1
b
@billowy-army-68599 Here’s the issue: https://github.com/pulumi/pulumi-aws/issues/2023
And thanks for the https://github.com/pulumi/pulumi-random tip, I didn’t know about this 🍻