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

    calendar May 25, 2021 · 5 min read  ·
    Last Modified : Oct 10, 2026
    Share on: twitter facebook linkedin copy
    How to use Terraform resource meta arguments?

    Terraform resource Meta-Arguments can be useful while setting up your cloud infrastructure. The resource arguments depends_on, count, for_Each, provider, lifecycle has some features such as - You can create multiple aws_resource using the count for_each can be used for iteration and can also help you to create …


    Read More
  • How to use Terraform Dynamic blocks?

    calendar May 10, 2021 · 4 min read  ·
    Last Modified : Aug 10, 2021
    Share on: twitter facebook linkedin copy
    How to use Terraform Dynamic blocks?

    Terraform Dynamic Block is important when you want to create multiple resources inside of similar types, so instead of copy and pasting the same terraform configuration in the terraform file does not make sense and it is not feasible if you need to create hundreds of resources using terraform. If we describe terraform …


    Read More
  • Terraform - How to nuke AWS resources and save additional AWS infrastructure cost?

    calendar May 1, 2021 · 8 min read  ·
    Last Modified : Oct 26, 2021
    Share on: twitter facebook linkedin copy
    Terraform - How to nuke AWS resources and save additional AWS infrastructure cost?

    Working in the AWS cloud is always fun until you are not paying your AWS bills from your pocket. Being a developer we work on our developer machine and we do not much worry much about resources(CPU, Memory, and Disk space) because nowadays developer machines (Laptops/desktops) are very powerful. Apart from the initial …


    Read More
  • Terraform count, for_each and for Expressions Explained - Loop Over Lists, Sets and Maps (with the count vs for_each trap)

    calendar May 1, 2021 · 17 min read  ·
    Last Modified : Oct 10, 2026
    Share on: twitter facebook linkedin copy
    Terraform count, for_each and for Expressions Explained - Loop Over Lists, Sets and Maps (with the count vs for_each trap)

    When working with collection variables in Terraform, you must understand the three ways to loop - count, for_each and the for expression. If you don't, going through a list, map or set of anything (users, subnets, security group rules) is painful, and worse, you will eventually hit the trap where removing one item …


    Read More
  • How to use Terraform output values?

    calendar Apr 26, 2021 · 10 min read  ·
    Last Modified : May 9, 2023
    Share on: twitter facebook linkedin copy
    How to use Terraform output values?

    In this article we are going to look on terraform output values. Terraform output values will be really useful when you want to debug your terraform code. Terraform output values can help you to print the attributes reference(arn, instance_state, outpost_arn, public_ip, public_dns etc) on your console. The typical …


    Read More
  • How to fix error configuring Terraform AWS Provider error validating provider credentials error calling sts GetCallerIdentity SignatureDoesNotMatch?

    calendar Apr 19, 2021 · 2 min read  ·
    Last Modified : Apr 19, 2021
    Share on: twitter facebook linkedin copy
    How to fix error configuring Terraform AWS Provider error validating provider credentials error calling sts GetCallerIdentity SignatureDoesNotMatch?

    In this article we are going to troubleshoot an issue related to Terraform and AWS. This is occurs when you are trying to use your Old or expired - Access keys (access key ID and secret access key) of your aws account. You are error should look like - Error: error configuring Terraform AWS Provider: error validating …


    Read More
  • How to fix Invalid function argument on line in provider credentials file google Invalid value for path parameter no file exists

    calendar Apr 19, 2021 · 2 min read  ·
    Last Modified : Apr 19, 2021
    Share on: twitter facebook linkedin copy
    How to fix Invalid function argument on line in provider credentials file google Invalid value for path parameter no file exists

    Working with terraform can tricky sometime and specially if you are working with cloud service provider such as Google Cloud Platform. I have faced the following issue while I was working with my first Terrafrom project with Google Cloud. Error Invalid function argument on main.tf line 2, in provider google …


    Read More
  • How to fix error value for undeclared variable a variable named was assigned on the command line?

    calendar Apr 16, 2021 · 1 min read  ·
    Last Modified : Apr 16, 2021
    Share on: twitter facebook linkedin copy
    How to fix error value for undeclared variable a variable named was assigned on the command line?

    In this article we are going to fix Error Value for undeclared variable A variable named was assigned on the command line, but the root module does not declare a variable of that name. To use this value, add a variable block to the configuration The above mentioned issue very common with terraform and 99% of the case …


    Read More
  • variables.tf vs terraform.tfvars - how Terraform loads .tf and .tfvars files, auto.tfvars and -var-file precedence (tested on v1.16)

    calendar Apr 11, 2021 · 9 min read  ·
    Last Modified : Oct 17, 2026
    Share on: twitter facebook linkedin copy
    variables.tf vs terraform.tfvars - how Terraform loads .tf and .tfvars files, auto.tfvars and -var-file precedence (tested on v1.16)

    TL;DR variables.tf declares, terraform.tfvars assigns. A variable block gives the name, type, default, validation and sensitive flag; a .tfvars file contains only name = value lines. Loaded automatically: terraform.tfvars, terraform.tfvars.json and every *.auto.tfvars / *.auto.tfvars.json in the working directory. …


    Read More
  • Terraform Variables Explained - Input Variables (string, number, bool, list, map, object), Validation, Sensitive, Locals, Outputs and tfvars

    calendar Apr 1, 2021 · 17 min read  ·
    Last Modified : Oct 10, 2026
    Share on: twitter facebook linkedin copy
    Terraform Variables Explained - Input Variables (string, number, bool, list, map, object), Validation, Sensitive, Locals, Outputs and tfvars

    Terraform variables are a way to store values that you can reuse throughout your Terraform configuration. You define a value once, reference it in multiple places, and change it in one place when the environment changes - t3.micro in dev, m5.large in prod, same code. I wrote the first version of this post in 2021 for …


    Read More
    • ««
    • «
    • 3
    • 4
    • 5
    • 6
    • 7
    • »
    • »»

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