Terraform

Terraform subscription active
You will receive email notifications for new publications on Terraform.
46 Results
  • How To Build a Custom Terraform Module

    Terraform modules encapsulate distinct logical components of your infrastructure by grouping their resources together. In this tutorial, you'll create a Terraform module that will set up multiple Droplets behind a Loa...
    By Savic Terraform Cloud Computing
  • How To Use Terraform with DigitalOcean

    Terraform is a tool for building and managing infrastructure in an organized way. In this tutorial, you'll install and use Terraform to create an infrastructure on DigitalOcean that consists of two Nginx servers that ...
    By Mitchell Anicas, Brian Hogan System Tools API Terraform Nginx Load Balancing DigitalOcean Managed Load Balancers DNS Configuration Management
  • Infrastructure as Code Explained

    In this article, we define Infrastructure as Code (IaC) and explain the benefits of IaC in development and deployment workflows. We also start to learn about Terraform's role in the IaC workflow and understand "what i...
    By Savic Terraform Cloud Computing Configuration Management
  • How To Structure a Terraform Project

    Structuring Terraform projects appropriately according to their use cases and perceived complexity is essential to ensure their maintainability and extensibility in day-to-day operations. In this tutorial, you'll lear...
    By Savic Terraform Apache DNS Python
  • How To Improve Flexibility Using Terraform Variables, Dependencies, and Conditionals

    Hashicorp Configuration Language (HCL), which Terraform uses, like other programming languages provides a few different types of loops. In this article, we'll review the data structures HCL provides, its looping featu...
    By Savic Terraform
  • Tech talk

    Building a Minimal, Production-Ready Infrastructure on DigitalOcean

    How to build a minimal, production-ready architecture using Terraform and DigitalOcean Droplet, LBaaS, VPC, Firewall, and DNS.
    By Mason Egger Tech Talks DigitalOcean Managed Load Balancers Firewall DNS Terraform
  • How To Manage Infrastructure Data with Terraform Outputs

    Terraform outputs are used to extract information about the infrastructure resources from the project state. In this tutorial, you'll learn about Terraform outputs their syntax and parameters by creating a simple infr...
    By Savic Terraform DigitalOcean
  • Tutorial

    How To Build a Hashicorp Vault Server Using Packer and Terraform on DigitalOcean

    Vault, by Hashicorp, is an open-source tool for securely storing secrets and sensitive data in dynamic cloud environments. Packer and Terraform, also developed by Hashicorp, can be used together to create and deploy i...
    By Savic Terraform Configuration Management
  • Webinar Series: Building Blocks for Doing CI/CD with Kubernetes

    If you are getting started with containers, you will likely want to know how to automate the processes of building, testing, and deployment. In this first article of the CI/CD with Kubernetes series, we will cover ke...
    By neependrakhare Kubernetes Terraform CI/CD Docker Microservices Ubuntu Ubuntu 16.04
  • Tutorial

    How To Build a Hashicorp Vault Server Using Packer and Terraform on DigitalOcean [Quickstart]

    Vault, by Hashicorp, is an open-source tool for securely storing secrets and sensitive data in dynamic cloud environments. Packer and Terraform, also developed by Hashicorp, can be used together to create and deploy i...
    By Savic Terraform Configuration Management Automated Setups Quickstart
  • Tutorial

    How To Import Existing DigitalOcean Assets into Terraform

    Terraform is an infrastructure as code tool created by HashiCorp that helps developers with deploying, updating, and removing different assets of their infrastructure in an efficient and more scalable way. In this tut...
    By Ivan Terraform Cloud Computing DigitalOcean Cloud Firewalls
  • Tutorial

    How to Deploy a Node.js App Using Terraform on Ubuntu 14.04

    Learn to use Terraform, a very simple, yet powerful tool that allows you to write your stack as code. In this tutorial, you'll deploy a Node.js app to DigitalOcean and then explore how Terraform works so you can build...
    By getstreamio Configuration Management Deployment Terraform Node.js Ubuntu
  • Tutorial series

    The Navigator's Guide to DigitalOcean

    This is an early release version of the contents of the Navigator's Guide book, an offering from the DigitalOcean Solutions Engineers. The goal of the book is to help business customers plan their infrastructure needs...
    By Fabian Barajas and Jon Schwenn DigitalOcean Articles Solutions High Availability Configuration Management Terraform Ansible
  • Tutorial

    DigitalOcean Blueprints: Getting Up and Running with Node.js, MySQL Replication, and Cachet

    DigitalOcean Blueprints provide you with fast and flexible infrastructure to support you as you scale. You can leverage and incorporate Blueprints as part of your development workflow to spend more time crafting code ...
    By Kathleen Juell Blueprint DigitalOcean DigitalOcean Cloud Firewalls Block Storage Node.js MySQL Ansible Solutions Terraform Automated Setups Databases
  • Navigator's Guide: Modular Infrastructure Configuration

    The previous section used Terraform and Ansible to provision resources (Droplets, Load Balancers, and Floating IPs) and deploy your WordPress application. In this supplemental section, we discuss some ways to simplify...
    By Fabian Barajas, Jon Schwenn Solutions Configuration Management Terraform Ansible
  • Tutorial series

    Webinar Series: CI/CD on Kubernetes

    The series discusses how to take a Cloud Native approach to building, testing, and deploying applications, covering release management, Cloud Native tools, Service Meshes, and CI/CD tools that can be used with Kuberne...
    By neependrakhare Kubernetes Terraform CI/CD Docker Microservices Ubuntu Ubuntu 16.04 Deployment Open Source Git
  • Question

    How to deploy a droplet on DigitalOcean with Terraform?

    I am having a problem deploying a droplet on DigitalOcean with Terraform. I followed the documentation in the official Terraform website but it does not work. I am getting the following error: Error: Error creating dr...
    Accepted Answer: Hi there, I recently deployed a droplet with Terraform on my own and had the same issue. However, I fixed it by doing the following: 1st part (I assume you already did that) 1. Go to your Control Panel and click on AP...
    1 By xenlet Terraform DigitalOcean API and CLI (doctl)
  • Question

    Unable to resolve DNS from with a droplet created via terraform

    I've created a droplet and firewall config (using terraform) from the docker-18-04 and docker-20-04 images and I am unable to perform any DNS resolution from within these hosts. I've opened 53/tcp and 53/udp outgoing ...
    Accepted Answer: It's actually a problem with all outgoing traffic, I've rewritten the question: https://www.digitalocean.com/community/questions/droplets-created-with-terraform-have-no-outgoing-network-access
    1 By zenhob DNS Ubuntu 18.04 Ubuntu 20.04 Terraform
  • Question

    Attach Kubernetes cluster to project

    Is there any way to create a k8s cluster inside a newly created project, or to assign it, after-the-fact, to one of the existing projects, with Terraform, doctl or another tool? I am currently writing a Terraform pro...
    Accepted Answer: You can see the DOKS documentation calls out a bit of a lack of support here, but provides a workaround:https://www.digitalocean.com/docs/kubernetes/#limits The control panel does not support assigning a cluster to a ...
    1 By servicesShrimp Kubernetes Terraform DigitalOcean API and CLI (doctl)
  • Question

    Create Spaces bucket with Terraform gives malformed request

    I want to create a space bucket using Terraform. Here is my attempt: ``` provider "digitalocean" { token = var.dotoken spacesaccessid = var.dospacesclientid spacessecretkey = var.dospacessecret_key } resource "d...
    Accepted Answer: The error being returned by the API here is unclear, but the cause is the underscore (_) in the Space name. In the control panel, when creating a new Space, it notes that names must be between 3 and 63 characters long...
    3 By jpauthier Terraform DigitalOcean Spaces