I hope this is the right place to ask this question.
I’m trying to use terraform to configure an existing auth0 tenant so I can store the e-mail templates. I’m using the community Auth0 provider created by alexkappa .
This provider works great and it is possible to create and configure email templates and email providers for new tenants / domains.
But, because I have an existing domain, I need to import these resources into terraform. It’s possible to do so by using their id.
For example, if you would like to import an existing connection you can retrieve the id of the connection by running this:
And by using that id you can import the resources to terraform:
terraform import auth0_connection.my_connection con_000000000000000
To do the same for the email provider, I need its id. But I struggling to retrieve this id and in the documentation I can’t find anything.
Perhaps it’s a silly question, but does the email template have an id? And if so, how can I retrieve it?
Thanks in advance,