Terraform Input Variable (string, number, bool, list, map...) | How to use Terraform Input Variable

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 65

  • @forexmeter3900
    @forexmeter3900 2 роки тому +3

    You explain very well, and you take your time unlike other instructors who rush through the presentation and it's hard to for along. Keep up the good work!

  • @leandrojpg
    @leandrojpg Рік тому +1

    What a good heart you have, I didn't know anything and the terraform documentation seems confusing to me you put things the easy way. Thank you, may God give you strength to continue helping us

  • @hirenbhatt9808
    @hirenbhatt9808 3 роки тому +1

    GREAT UNDERSTANDING !! MOST RECOMMENDED! I HAVE SHORTLISTED THIS VIDEO OUT OF OTHERS SEEN AROUND MANY!!

  • @saadjahakayani5020
    @saadjahakayani5020 2 роки тому +1

    bohat shukariya Rahul sahab for explaining in easy terms of language

  • @John12685
    @John12685 Рік тому +1

    Brilliant job Sir. keep up doing the good work ❣

  • @naveenreddy2789
    @naveenreddy2789 3 місяці тому

    this is really awesome video i have ever seen 😍

  • @nagababunalluri5059
    @nagababunalluri5059 Рік тому

    This is too late to find this channel.very useful content shared thanks bro

  • @VNnimbs
    @VNnimbs Рік тому

    Thanks a lot Rahul ..... Kudos to ur efforts....!!

  • @shree9660
    @shree9660 7 місяців тому

    Really thanks for making this video.

  • @sudheerpetluri
    @sudheerpetluri 3 роки тому

    Hi Rahul, I am started learning terraform. It's very clear to understand.

    • @RahulWagh
      @RahulWagh  3 роки тому

      Glad to hear that, stay tuned there are more to come in upcoming weeks

  • @prasadrao4840
    @prasadrao4840 2 роки тому

    outstanding explanation for every step in video, many thanks .

  • @happylearningtricks
    @happylearningtricks Рік тому

    thank you for your valuable content..!!❤

  • @KrishnaRac
    @KrishnaRac Рік тому

    When you give count=2 how does it takes the ami-id for the instance for 2nd instance.

  • @allwayspositive8359
    @allwayspositive8359 2 роки тому

    you are hero sir thanks a lot sir
    your contents are supur

  • @sundeepgarg3502
    @sundeepgarg3502 Рік тому

    your videos are very good, before this terraform was confusing for me

  • @venkatkatta2154
    @venkatkatta2154 3 місяці тому

    Hi Rahul,
    It a very good explanation thanks for that.
    I have one query ,
    Currently you are spin up resource on single location, I want to spin up two locations each location have its owan key and values.
    like central-1 and other region
    is it possible how ?

  • @nilavasen8631
    @nilavasen8631 2 роки тому +1

    Dear Rahul, really nice training material. Thanks a lot. Can you please develop and upload a new video on a real-life project kind of stuff on TF to AWS , so that we can get a clear e2e idea on how to actually apply TF in practical projects ? Thanks in advance !!

  • @devips5102
    @devips5102 2 роки тому

    Excellent sir

  • @kumarv6706
    @kumarv6706 2 роки тому +1

    How to create different tag names (dev, test) for each ec2 instances with variables?

    • @RahulWagh
      @RahulWagh  2 роки тому

      There is tag element inside the terraform ec2 block which you can use it

  • @SivaPrasad-ol1gh
    @SivaPrasad-ol1gh 6 місяців тому

    Thank You so much

  • @vinaykumarpandey1006
    @vinaykumarpandey1006 Рік тому

    very nice

  • @abbaskp3330
    @abbaskp3330 3 роки тому +1

    Thank you so much sir..it's really great work. We are able to grasp each explanation..please keep doing, Terraform with gcp for creating dataset and assigning role to group to that created dataset using Terraform.

    • @RahulWagh
      @RahulWagh  3 роки тому

      Keep watching there is more to come

    • @shawnisamazin
      @shawnisamazin 2 роки тому

      @@RahulWagh I love this tutorial but I dont understand why you introduced count = length (var.user_names) and var.user_names[count.index]. That got me soooo confused. Could you please clarify? @Rahul Wagh

  • @talhamalik1681
    @talhamalik1681 8 місяців тому

    watching this TF series in 2024 and thanking to @rahul for your effort for us.

    • @RahulWagh
      @RahulWagh  8 місяців тому

      You’re welcome

  • @DanielWeikert
    @DanielWeikert 2 роки тому

    Great work thanks for sharing. Any reason you run init each time? 1 time should be enough or not?
    Do you have a tutorial using terraform for a s3-lambda-glue project? best regards and take care

    • @RahulWagh
      @RahulWagh  2 роки тому

      There is no need to run the terraform unit each time, it is absolutely optional. I am planning to prepare terraform lambda project soon

  • @johnk1709
    @johnk1709 2 роки тому +2

    Super

  • @mamtasingh7951
    @mamtasingh7951 6 місяців тому

    nice content

  • @subhash0609
    @subhash0609 3 роки тому

    There are some Running Servers in aws which have No IAM Roles. I can list those servers in a file, and from that file can we apply IAM roles by using Terraform.

    • @RahulWagh
      @RahulWagh  3 роки тому

      Yeah sure you can do that and add IAM roles

  • @furrysimbha5647
    @furrysimbha5647 3 роки тому

    The AMI specified in this, is it active AMI that you created in your AWS account? I believe its yes.

    • @RahulWagh
      @RahulWagh  3 роки тому +1

      I think it should be an active AMI on aws

  • @shivanshusharma20.07
    @shivanshusharma20.07 6 місяців тому

    Can you cover more topic of gcp int erraform like aws? like tfvars and ssh in gcp?

    • @RahulWagh
      @RahulWagh  6 місяців тому +1

      It is on the list

    • @shivanshusharma20.07
      @shivanshusharma20.07 6 місяців тому

      @@RahulWagh Sure sir what is playlist for gcp where all topics are covered?

  • @kirankumarkkk7661
    @kirankumarkkk7661 Рік тому

    Ty.....sir

  • @Hitesh_678
    @Hitesh_678 2 роки тому

    Hi Rahul, i tried the string using GCp but i get lot of error
    provider "google" {
    credentials = file("gcp-account.json")
    project = "my-project-terraform-351112"
    region = "europe-west4"
    zone = "europe-west4-a"
    }
    resource "google_compute_instance" "default" {
    machine_type = var.machine_type"

    tags = {
    Name= "Terraform e2-micro"
    }
    boot_disk {
    initialize_params {
    image = "debian-cloud/debian-9"
    }
    }

    variable "machine_type" {
    description = "Machine type e2.micro"
    type = string
    default = "e2.micro"
    }
    network_interface {
    network = "default"
    access_config {
    // Ephemeral IP
    }
    }
    }

  • @sumanjaiswal13
    @sumanjaiswal13 3 роки тому

    Your videos are awesome, it would be great if upload some content on terragrunt also.

    • @RahulWagh
      @RahulWagh  3 роки тому +1

      Will try to prepare something around terragrunt in upcoming weeks

  • @sandv2902
    @sandv2902 2 роки тому

    Sir please arrange videos In a sequence and in the link as well

  • @sudheerpetluri
    @sudheerpetluri 3 роки тому

    Rahul please expain in GCP also.

    • @RahulWagh
      @RahulWagh  3 роки тому

      Its already there in the Terraform Part 1 - here is the timestamp for the Google Cloud Platform if you want to learn more - ua-cam.com/video/jJX6S5JAGpI/v-deo.html

    • @sudheerpetluri
      @sudheerpetluri 3 роки тому

      @@RahulWagh yes i saw that video

  • @user-mb7qe6ro9m
    @user-mb7qe6ro9m 3 роки тому

    but u are still hard coding the instance type in variable section.

    • @RahulWagh
      @RahulWagh  3 роки тому

      Well yes the idea of this tutorial to show the variables types, so I just hardcoded the instance type into the variable section.
      I agree hardcoding is not recommended way but for this tutorial and to keep the things simple i have hard coded the instance type

  • @korebhagath3976
    @korebhagath3976 2 роки тому

    Why you use string .why not list

    • @RahulWagh
      @RahulWagh  2 роки тому

      It’s up to you what you wanna use string or list.

  • @kajolbahl872
    @kajolbahl872 2 роки тому

    Not good