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
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?
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
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
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
Can you please make a video on how to use output data to use in another module
kudos Rahul .................
Really very helpful
You are welcome
Rahul thanks bro...
You are welcome
What are the values that I can give for cidr while creating vpc and subnets and what are ranges and their pros and cons?
Use this cidr range calculator to see how the cidr ranges work - mxtoolbox.com/subnetcalculator.aspx
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
Excellent
Thank you so much 😀
Ty...sir
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?
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
Good job!
Amazing content
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
Is there any way to store these values inside any file such as output.tf ?
I haven’t tried but would give it a try
How to use output value in local tags so it can populate on AWS console
Probably you could try this -
output "instance_tags" {
value = "${lookup(module.ec2_cluster.tags[0], "Name")}"
}
where to see output value if sensitive attribute is true?
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