-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation examples needed for *_records_set #41
Comments
You want to use it like this:
I agree that it would be good to improve the documentation on how to use this - in the meantime, you can see some different flavors of how you can approach this problem over in #27 & related PRs (just note that at the time I was changing the original attributes, rather than introducing the new |
Hi there, I currently trying to achieve the same behavior for the namecheap provider. However I am struggling to get the for_each loop working as the namecheap provider makes use of a nested schema to define DNS records:
I am new to terraform and would be glad to get a pointer / code snippet to point me into the right direction. Best, |
@forstern you should use
|
@baznikin thanks a lot for you input! I was now able to use the mailgun provider to feed dns records to the namecheap provider. As namecheap is a little picky on how you specify the hostname, I leave my implementation here in case someone else needs it :) It might not be perfect, but it does its job.
|
Hello!
I spend few hours trying to figure out intended use scenario for
receiving_records_set
andsending_records_set
.I wish to create DNS resources with those values but can't find clean and beautiful way.
It can't be used directly, because
for_each
can't iterate through set of objects.Best solution I got is
but I can't create mailgun.domain resource and DNS resources at one run
Please, let us know how it is intended to use. My situation is most common use case - register domain at mailgun and then create necessary resources.
PS: I ended by using this https://github.com/adinhodovic/terraform-mailgun-cloudflare/blob/master/main.tf unperfect example and worsen it by wraping sets with
tolist()
...The text was updated successfully, but these errors were encountered: