Jhooq
open-menu closeme
Home
Ansible
Kubernetes
Terraform
Google Cloud
YouTube
Tools
About
Contact
github twitter linkedin rss
  • Terraform Variable Within Variable: Why It Fails and the Three Patterns That Work (Terraform 1.17)

    calendar May 4, 2023 · 9 min read · Terraform  ·
    Last Modified : Nov 3, 2026
    Share on: twitter facebook linkedin copy
    Terraform Variable Within Variable: Why It Fails and the Three Patterns That Work (Terraform 1.17)

    TL;DR TL;DR A Terraform variable cannot refer to another variable. default = "app-${var.env}" fails with Error: Variables not allowed ... Variables may not be used here. The same error appears for a reference inside terraform.tfvars. The fix is to compute the combined value in a locals block: full_name = …


    Read More
  • Mastering the Terraform Lookup Function for Dynamic Keys

    calendar May 3, 2023 · 8 min read  ·
    Last Modified : May 3, 2023
    Share on: twitter facebook linkedin copy
    Mastering the Terraform Lookup Function for Dynamic Keys

    1. Introduction Infrastructure as code (IaC) is a key part of gaining efficiency, scalability, and manageability in the rapidly changing tech world of today. Many DevOps teams now use Terraform, which is a famous IaC tool. The Terraform lookup function for dynamic keys has become a powerful way to improve your IaC …


    Read More
  • How to Use SSH Keys with Ansible for Secure Server Management?

    calendar May 2, 2023 · 5 min read  ·
    Last Modified : May 2, 2023
    Share on: twitter facebook linkedin copy
    How to Use SSH Keys with Ansible for Secure Server Management?

    Introduction There are a couple of ways in which you can securely connect to a remote server using Ansible. Using the SSH Keys (Public, Private) Using the remote server password Both methods are widely used by DevOps practitioners, and both are secure. But still, if I would like to vote for Using the SSH keys for …


    Read More
  • Why YAML is so important in Ansible?

    calendar May 2, 2023 · 11 min read  ·
    Last Modified : May 2, 2023
    Share on: twitter facebook linkedin copy
    Why YAML is so important in Ansible?

    Table of Content What is YAML? Example of YAML? Why Ansible needs YAML? Example of Ansible Playbook written in YAML What are rules for writing Ansible Playbook using YAMLs? Advantages of YAML in Ansible YAML vs Other Data Serialization Formats What is YAML? YAML is a recipe for computers that helps them understand what …


    Read More
  • Copy files to EC2 and S3 bucket using Terraform

    calendar Apr 28, 2023 · 6 min read  ·
    Last Modified : Apr 28, 2023
    Share on: twitter facebook linkedin copy
    Copy files to EC2 and S3 bucket using Terraform

    This blog post will guide you on how to use Terraform-Provisioners to copy/upload files to EC2 as well as the S3 bucket. Table of Content Pre-requisites Setup AWS credentials in the Terraform file Setup an EC2 instance, a security group, and SSH key pair resources. Use file provisioner to upload the file to EC2 Upload …


    Read More
  • Troubleshooting Error creating EC2 Subnet InvalidSubnet Range The CIDR is Invalid

    calendar Apr 27, 2023 · 5 min read  ·
    Last Modified : Apr 27, 2023
    Share on: twitter facebook linkedin copy
    Troubleshooting Error creating EC2 Subnet InvalidSubnet Range The CIDR is Invalid

    In this blog post we will take a look on how to fix the issue of Error: Creating EC2 Subnet: InvalidSubnet.Range: The CIDR '100.1.1.0/24' is Invalid Error: creating EC2 Subnet: InvalidSubnet.Range: The CIDR '100.1.1.0/24' is invalid Table of Content Introduction Understanding the Error InvalidSubnet.Range Error CIDR …


    Read More
  • Troubleshooting InvalidParameter Security group and subnet belong to different networks

    calendar Apr 27, 2023 · 3 min read  ·
    Last Modified : Apr 27, 2023
    Share on: twitter facebook linkedin copy
    Troubleshooting InvalidParameter Security group and subnet belong to different networks

    I got stuck with the error InvalidParameter: Security group sg-08e153383fca86934 and subnet subnet-00e3adcfceb3cf8ee belong to different networks when I was working on one of AWS project where I need to set-up following using Terraform - VPC Subnet Internet Gate, NAT Route Table EC2 Instance Security group Here is the …


    Read More
  • How to set-up Cron Jobs in Docker Containers?

    calendar Apr 26, 2023 · 9 min read  ·
    Last Modified : Apr 26, 2022
    Share on: twitter facebook linkedin copy
    How to set-up Cron Jobs in Docker Containers?

    Cron jobs are undoubtedly among the easiest and most often used methods for task scheduling. It is easy to see why every Linux user is familiar with cron jobs: they are highly helpful Simple to set up Need very little maintenance. We will go through using Cron Jobs in Docker containers in this tutorial. Table of …


    Read More
  • Docker Copy File from Host to Container - docker cp, Bind Mounts, Docker Compose and Dockerfile COPY (Complete Guide)

    calendar Apr 25, 2023 · 15 min read  ·
    Last Modified : Oct 10, 2026
    Share on: twitter facebook linkedin copy
    Docker Copy File from Host to Container - docker cp, Bind Mounts, Docker Compose and Dockerfile COPY (Complete Guide)

    When working with Docker containers, one of the most common tasks is to copy a file from the local host into a container - a config file you want to try, a certificate, a script, a database dump. And almost as often, the other way round - a log file or a generated report out of the container onto your laptop. In this …


    Read More
  • Docker Compose command with multiple commands and multiple lines - sh -c, the list form, $$ and depends_on (tested on Compose v2.38)

    calendar Apr 24, 2023 · 11 min read  ·
    Last Modified : Oct 14, 2026
    Share on: twitter facebook linkedin copy
    Docker Compose command with multiple commands and multiple lines - sh -c, the list form, $$ and depends_on (tested on Compose v2.38)

    TL;DR Wrap the commands in a shell: command: sh -c "echo one && echo two". Compose does not run a shell for you. Without sh -c, Compose silently drops everything after &&, ; or |. command: echo one && echo two printed only one, and docker compose config shows the parsed command as …


    Read More
    • ««
    • «
    • 8
    • 9
    • 10
    • 11
    • 12
    • »
    • »»

Categories

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

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

Series

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

Tags

KUBERNETES 21 HELM CHART 11 TERRAFORM 11 BLOGGING 4 QUARKUS 4 DOCKER 3 GITHUB 3 SSL 3 ANSIBLE 2 CAREER 2 KUBESPRAY 2 SPRING BOOT 2 ANSIBLE INSTALLATION 1 AWS 1
All Tags

ANSIBLE2 ANSIBLE INSTALLATION1 AWS1 AZURE1 BLOGGING4 CAREER2 DEVOPS1 DOCKER3 GIT1 GITHUB3 HADOOP1 HELM CHART11 INDEX1 KUBERNETES21 KUBESPRAY2 NGINX1 QUARKUS4 SECRETS1 SECURITY1 SPRING BOOT2 SSL3 TERRAFORM11 TERRAFORM ERRORS1
[A~Z][0~9]

Recent Posts

  • terraform console: Evaluate Expressions, Functions and cidrsubnet Without Applying Anything (Terraform 1.17)
  • Terraform tls_private_key: Generate SSH Keys and Self-Signed Certificates with the tls Provider (Terraform 1.17)
  • Stop Using .env Files for Secrets: Encrypt Them with sops and age Instead (Real Output, gitleaks Included)
  • Ansible on AWS: Zero-Downtime Deploys Behind an ALB, RDS, and an AI Postmortem (Project 2)
  • 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

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