Question

How would I enable Monitoring via terraform?

I don’t need alerts, I would only like the additional graphs that come with monitoring enabled.


Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

You can define this in the Droplet creation itself with the following:

  • monitoring - (Optional) Boolean controlling whether monitoring agent is installed. Defaults to false.

For more information you can check out the official documentation here:

https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/droplet

Best,

Bobby