Jhooq
open-menu closeme
Home
Ansible
Kubernetes
Terraform
Google Cloud
YouTube
Tools
About
Contact
github twitter linkedin rss
  • How to use terraform depends_on meta argument?

    calendar Jan 13, 2023 · 8 min read  ·
    Last Modified : Jan 13, 2023
    Share on: twitter facebook linkedin copy
    How to use terraform depends_on meta argument?

    The "depends_on" meta argument in Terraform is used to specify dependencies between resources within a Terraform configuration. This allows Terraform to properly order the creation, modification, and destruction of resources, ensuring that dependent resources are created or modified only after the resources …


    Read More
  • Terraform user_data on AWS EC2 - inline script, file(), templatefile(), the 16 KB limit, first-boot-only, and why a change recreates the instance (AWS provider 6.69)

    calendar Jan 2, 2023 · 10 min read  ·
    Last Modified : Oct 17, 2026
    Share on: twitter facebook linkedin copy
    Terraform user_data on AWS EC2 - inline script, file(), templatefile(), the 16 KB limit, first-boot-only, and why a change recreates the instance (AWS provider 6.69)

    TL;DR user_data is a string that EC2 passes to cloud-init on the instance's first boot. Start it with #!/bin/bash for a shell script or #cloud-config for cloud-init YAML; without a recognised first line nothing runs. Three ways to write it: inline with <<-EOT ... EOT, file("${path.module}/setup.sh") for …


    Read More
  • Why you should not store terraform state file(.tfstate) inside Git Repository?

    calendar Dec 27, 2022 · 5 min read  ·
    Last Modified : Dec 27, 2022
    Share on: twitter facebook linkedin copy
    Why you should not store terraform state file(.tfstate) inside Git Repository?

    It is generally not recommended to commit .tfstate files to Git or any other version control system. .tfstate files contain sensitive information about the infrastructure managed by Terraform, including the current state of resources and the configurations used to create them. If these files are committed to version …


    Read More
  • How to import existing resource using terraform import comand?

    calendar Dec 23, 2022 · 8 min read  ·
    Last Modified : Dec 23, 2022
    Share on: twitter facebook linkedin copy
    How to import existing resource using terraform import comand?

    To import an existing infrastructure resource into Terraform, you can use the terraform import command. This command allows you to take an existing resource that was created outside of Terraform and bring it under Terraform management. In this blog, we will take two examples - How to import EC2 Instance? How to import …


    Read More
  • Terraform - A detailed guide on setting up ALB(Application Load Balancer) and SSL?

    calendar Dec 20, 2022 · 6 min read  ·
    Last Modified : Dec 20, 2022
    Share on: twitter facebook linkedin copy
    Terraform - A detailed guide on setting up ALB(Application Load Balancer) and SSL?

    Why do we need an SSL Certificate for an Application Load Balancer (ALB) in AWS? SSL certificates are used to establish secure connections between clients and servers over the internet. They are particularly important for protecting sensitive information, such as login credentials or financial data, when it is …


    Read More
  • Testing Infrastructure as Code with Terraform?

    calendar Dec 13, 2022 · 6 min read  ·
    Last Modified : Dec 13, 2022
    Share on: twitter facebook linkedin copy
    Testing Infrastructure as Code with Terraform?

    Testing infrastructure as code (IaC) involves verifying the functionality and behavior of the code used to manage and provision infrastructure in a cloud environment. IaC allows organizations to automate the provisioning and management of their infrastructure, which can improve efficiency, reduce errors, and enable …


    Read More
  • How to remove a resource from Terraform state?

    calendar Dec 12, 2022 · 4 min read  ·
    Last Modified : Dec 12, 2022
    Share on: twitter facebook linkedin copy
    How to remove a resource from Terraform state?

    To remove a resource from the Terraform state, you can use the $ terraform state rm command. This command allows you to remove resources from the Terraform state file.

    1. How to remove a single resource from terraform state file? Here are the steps which you should follow before you remove any resource - List the …


    Read More
  • Terraform null_resource Explained - Triggers, local-exec and remote-exec Examples, and When to Use terraform_data Instead

    calendar Dec 9, 2022 · 15 min read  ·
    Last Modified : Oct 10, 2026
    Share on: twitter facebook linkedin copy
    Terraform null_resource Explained - Triggers, local-exec and remote-exec Examples, and When to Use terraform_data Instead

    Terraform null_resource is one of the features which is underused by DevOps professionals. When I first looked at Terraform's documentation for null_resource I felt they had not put much effort into explaining it. But once I tried it myself, I started using it in almost every project - it is the standard way to run a …


    Read More
  • In terraform how to skip creation of resource if the resource already exist?

    calendar Dec 7, 2022 · 4 min read  ·
    Last Modified : Dec 7, 2022
    Share on: twitter facebook linkedin copy
    In terraform how to skip creation of resource if the resource already exist?

    In a Terraform project there are situations where a Developer feels a need to pre-check if the resource exists or not and many times I also wondered if is it possible to check the existence of the resource to avoid the duplicity of the resource. In this blog, we are gonna see - Why it is not possible to decide …


    Read More
  • How to setup Virtual machine on Google Cloud Platform

    calendar Nov 29, 2022 · 12 min read  ·
    Last Modified : Sep 28, 2026
    Share on: twitter facebook linkedin copy
    How to setup Virtual machine on Google Cloud Platform

    Working on a cloud platform always sounds interesting but what if you have some framework where you can automate your cloud infrastructure. In this article, we are going to see How to set up your first Virtual Machine on Google Cloud The platform using Terraform This article is aimed at the beginner who is just …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

Categories

TERRAFORM 65 AWS 50 KUBERNETES 29 DOCKER 28 ANSIBLE 14 HELM CHART 12 GOOGLE CLOUD 8 DEVOPS 7 BLOGGING 6 SSL 6 GITHUB 5 SPRING BOOT 5 AZURE 4 QUARKUS 4
All Categories

AI1 ANSIBLE14 AWS50 AZURE4 BLOGGING6 DEVOPS7 DOCKER28 GITHUB5 GOOGLE CLOUD8 GRADLE1 HADOOP1 HELM CHART12 HIBERNATE1 JENKINS2 KUBERNETES29 KUBESPRAY3 LINUX COMMANDS1 NGINX2 PROMETHEUS-GRAFANA3 QUARKUS4 SPRING BOOT5 SSL6 TERRAFORM65 VAGRANT3
[A~Z][0~9]

Series

TERRAFORM 63 AWS 39 KUBERNETES 29 DOCKER 28 ANSIBLE 13 HELM CHART 12 GOOGLE CLOUD 8 AZURE 4 DEVOPS 4 JENKINS 2 AI 1 LINUX COMMANDS 1

Tags

KUBERNETES 21 HELM CHART 11 BLOGGING 4 QUARKUS 4 DOCKER 3 GITHUB 3 SSL 3 CAREER 2 KUBESPRAY 2 SPRING BOOT 2 ANSIBLE 1 GIT 1 HADOOP 1 INDEX 1
All Tags

ANSIBLE1 BLOGGING4 CAREER2 DOCKER3 GIT1 GITHUB3 HADOOP1 HELM CHART11 INDEX1 KUBERNETES21 KUBESPRAY2 NGINX1 QUARKUS4 SPRING BOOT2 SSL3 TERRAFORM1
[A~Z][0~9]

Recent Posts

  • Kubernetes IP Address Planning: 22 Problems the Free IP Calculator Solves on EKS, GKE, AKS and On-Premises (kubeadm, Mirantis MKE, RKE2, OpenShift, Tanzu, Talos), with the Numbers and a Screenshot for Each
  • git rebase --exec Explained - Run Your Tests on Every Commit Before You Push, with Real Output, the Failure Path, and the Three Things That Bit Me
  • helm template Explained - Render a Helm Chart Locally Without a Cluster (Helm 4): Values Files, --set, --show-only, --output-dir, and the Traps That Bite
  • Should You Do a Cloud Certification? The Four Reasons I Tell People Not to Collect Them, What the Exams Cost in 2026, and the One Case Where a Certificate Is Worth the Money
  • Three AWS Solutions Architect Associate Questions From My Shorts, Answered Properly - Migrating Web, Batch and Legacy Apps; Cutting EC2 Cost for a 2-Week Shutdown Without Losing Memory; Internet for Private Subnets (with the Prerequisites the 30-Second Answers Skip)
  • What to Learn Before (and Alongside) Cloud - the Six Non-Cloud Skills Every DevOps, SRE and Cloud Engineer Uses Daily: Code and Git, Scripting, CI/CD, Automation, Infrastructure as Code, Networking and Security
  • Google Cloud External HTTP Load Balancer Step by Step - Forwarding Rule, Proxy, URL Map, Backend Service, Health Check and Instance Group in the Console and in Terraform, and Why the First curl Returned 502 (GCP Part 9)
  • Google Cloud IAM Explained - Principals, Roles and Permissions, Owner vs Editor vs Viewer (Now Legacy) vs the New Admin, Writer and Reader Roles, and What an Editor Can Really Do (GCP Part 4)

Rahul Wagh

Jhooq
Its all about Open Source and DevOps, here I talk about Kubernetes, Docker, Java, Spring boot and practices.
Read More


Jhooq

Copyright 2019-  JHOOQ. All Rights Reserved

to-top
Privacy Policy