Hi. I have a Terraform project that does the following:
During the installation, the chart provisions two volumes and a load balancer which I would like to add to the project but can’t see to figure out how to get their data in Terraform to do so.
Does anybody have advice on how to add the volumes and the load balancer to the project?
Or, is there any possibility to create the volumes + PVCs and add them to the project and then make the chart use the resources already provisioned instead of provisioning new ones?
Thanks a lot!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This was not sufficiently answered as I understand the question. @servicesShrimp specifically stated that he was automating the rollout using the terraform helm provider and, while it rolled out wordpress, a DO load balancer was created. His question was simply how he could get a handle on that (it’s URN possibly) so that subsequent terraform code can refer to it.
Asking @servicesShrimp to click buttons in a UI seems to have confused this point.
I’m also experiencing the same issue, although I need the loadbalancer reference to create an A record for it after it’s created.
If anyone has any pointers, please do point!
Hi, I would start with the following steps to make sure that everything is working as expected:
Note: One should be able to complete steps 2 - 3 within their local development environment.
After you successfully complete the above steps, then you can look at automating the provisions of your cluster using Terraform.
–
Think different and code well,
-Conrad
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.