Best of TerraformAugust 2024

  1. 1
    Article
    Avatar of faunFaun·2y

    Nitric is Terraform for Developers

    Nitric introduces a new paradigm called Infrastructure from Code (IfC), designed to bring the clarity and execution capabilities of Infrastructure as Code (IaC) tools like Terraform to application developers. With Nitric, you can document application requirements in a clear, concise, and executable format using Nitric SDKs and CLI, enabling easier and more efficient development and cloud infrastructure management.

  2. 2
    Article
    Avatar of spaceliftSpacelift·2y

    OpenTofu vs Terraform : Key Differences and Comparison

    OpenTofu and Terraform are popular infrastructure-as-code (IaC) tools with several similarities, such as modular design, declarative configuration, and stateful management. The key difference lies in their licensing: OpenTofu remains open-source and community-driven under MPL 2.0, while Terraform has transitioned to a source-available BSL license. OpenTofu offers additional features like state encryption and early variable evaluation. Spacelift supports both tools, offering orchestration and enhanced workflow features.

  3. 3
    Article
    Avatar of spaceliftSpacelift·2y

    How to Manage Kubernetes Secrets with Terraform

    Kubernetes Secrets provide a secure way to store sensitive information like passwords and API tokens, abstracting them from application code. This improves security by avoiding hardcoding sensitive data. Terraform can manage these secrets in a centralized, declarative manner, offering features like secret rotation and integration with tools like Vault. However, the Terraform state file stores secrets in plain text, necessitating extra security measures. Combining Kubernetes and Terraform with tools like Spacelift can streamline workflows, improve security, and enable comprehensive infrastructure management.

  4. 4
    Article
    Avatar of ciliumcilium·2y

    Talos Kubernetes on Proxmox using OpenTofu

    Talos is an immutable operating system designed to run Kubernetes, providing an out-of-the-box Kubernetes installation with a smaller attack surface and easier maintenance. This guide explains how to bootstrap and upgrade a multi-node Talos cluster running VMs on Proxmox, using OpenTofu/Terraform and following IaC principles. The setup includes configuring Talos and Proxmox, using Cilium for enhanced networking, leveraging the Proxmox CSI plugin for volume provisioning, and optionally using Intel iGPU for video support. It also covers advanced configurations like setting up Sealed Secrets for secure secret management and customising Talos images with Talos Linux Image Factory.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    Automating Infrastructure Deployment with Terraform (AWS example)

    Learn how to automate the deployment of AWS infrastructure using Terraform. The guide covers prerequisites like setting up AWS credentials and installing Terraform, followed by a detailed breakdown of the Terraform script to configure an AWS EC2 instance, create a security group, and run startup scripts. It also includes tips for storing variables and running Terraform commands to plan and apply the configurations.

  6. 6
    Article
    Avatar of tailscaleTailscale·2y

    Video: Tailscale and Ansible are a DevOps dream

    Ansible is a powerful tool for simplifying deployments, essential for any DevOps engineer. The post explains using Ansible with Tailscale to deploy a DigitalOcean droplet and configure a Jellyfin server for video streaming via a Caddy reverse proxy, all while leveraging Tailscale SSH and Jinja2 templating for configuration files. This is the third part of an ongoing Infrastructure as Code series.

  7. 7
    Article
    Avatar of goserverlessServerless·2y

    Serverless Framework V4 Generally Available

    Serverless Framework V4 is now generally available, offering new features without breaking changes. Key highlights include native TypeScript and build support, an innovative Dev Mode for faster local development, a new stages property for managing different environments, and integration with Terraform and HashiCorp Vault. The release also introduces a support command within the CLI, and many features are included at no extra cost with a V4 license, such as CI/CD and dashboard functionalities. New AWS Lambda features and runtimes are supported, enhancing logging controls and metrics.

  8. 8
    Article
    Avatar of faunFaun·2y

    Working with Terraform Can Be Much Faster

    Slow feedback loops in Terraform can be detrimental to productivity, quality, and project timelines. Key points of delay include plan and apply operations, state management, network latency, and debugging. Infrastructure from Code (IfC) tools can mitigate these issues by offering local simulation, autogenerated Terraform configurations, and enhanced consistency, thereby improving efficiency, reducing errors, and optimizing resources.