Learn how to use #terraform with an automated deployment pipeline with GitHub actions! And cloudflare as domain management tool is also included :) If you have any question, just leave a comment! And thanks for subscribing to my channel! :) I really appreciate it
I have it extended with another domain. It is actually very simple, as long as you can manage the other domain also with cloudflare. So now I manage multiple domains in cloudflare. What I did: I just added a second resource "cloudflare_zone" in the domain.tf file. And then I created a second records.tf file with the same entries, but just linked to my newly created domain, so now I can manage both domains within this setup. And can extend it with more domains :-) I hope this makes it clear. Maybe I'll add this extend example to my github.com/marcogreiveldinger/videos repository.
Learn how to use #terraform with an automated deployment pipeline with GitHub actions!
And cloudflare as domain management tool is also included :)
If you have any question, just leave a comment! And thanks for subscribing to my channel! :) I really appreciate it
This setup works fine when you have one domain but what if you had multiple, how would you structure it?
I have it extended with another domain. It is actually very simple, as long as you can manage the other domain also with cloudflare.
So now I manage multiple domains in cloudflare.
What I did: I just added a second resource "cloudflare_zone" in the domain.tf file.
And then I created a second records.tf file with the same entries, but just linked to my newly created domain, so now I can manage both domains within this setup.
And can extend it with more domains :-)
I hope this makes it clear.
Maybe I'll add this extend example to my github.com/marcogreiveldinger/videos repository.