Can you please make a video on how to use output data to use in another module
@sundarg37346 ай бұрын
What are the values that I can give for cidr while creating vpc and subnets and what are ranges and their pros and cons?
@RahulWagh6 ай бұрын
Use this cidr range calculator to see how the cidr ranges work - mxtoolbox.com/subnetcalculator.aspx
@kkishore0252 жыл бұрын
kudos Rahul .................
@Kalaiarasan_Balu Жыл бұрын
Really very helpful
@RahulWagh Жыл бұрын
You are welcome
@shivanshusharma20.077 ай бұрын
How to see output for public ip in gcp? i cannot see command for public ip. output "ip" { value = google_compute_instance.default.network_interface.0.network_ip } This is for private
@devopswisdom3 жыл бұрын
If we don't want sensitive output to be shown at screen then what is need for that output block. What is use case for sensitive attribute in output block?
@RahulWagh3 жыл бұрын
the output block can be useful when you want to know the external IP address of your EC2 instance which you provisened using terraform. So using output block you do not have to login into aws console to see the external ip address
@gauravmanshani2062 жыл бұрын
Amazing video sir. I have a use case on which i have been working. I have to create folders in GCP and sub folders within folders. But to create sub folders in specific folders we need folder id which is known after apply. I am using for each block to create folders and stuck on creating sub folders. Can you hint towards how can I do this. Thank you
@forexmeter39002 жыл бұрын
Good job!
@isaacambi1914 Жыл бұрын
Excellent
@RahulWagh Жыл бұрын
Thank you so much 😀
@ajitdalvi596 Жыл бұрын
Rahul thanks bro...
@RahulWagh Жыл бұрын
You are welcome
@kirankumarkkk7661 Жыл бұрын
Ty...sir
@OrlandoLopez-ew7sn2 жыл бұрын
Amazing content
@ranu__123 жыл бұрын
Is there any way to store these values inside any file such as output.tf ?
@RahulWagh3 жыл бұрын
I haven’t tried but would give it a try
@mannukewat87272 жыл бұрын
where to see output value if sensitive attribute is true?
@RahulWagh2 жыл бұрын
To view the sensitive value first you need to set the value to true .e.g. - sensitive = true And you can view the value either by running terraform plan or terraform apply command and it should show onto the terminal
@manavid863 жыл бұрын
How to use output value in local tags so it can populate on AWS console
@RahulWagh3 жыл бұрын
Probably you could try this - output "instance_tags" { value = "${lookup(module.ec2_cluster.tags[0], "Name")}" }