77948/how-to-create-a-variable-in-terraform
Hi Guys,
I have one Terraform script that will create one ec2 instance. I want to create one variable in this script so that I can change the blue dynamically. How can I do that?
Hi@akhtar,
Terraform has an inbuilt variable keyword to create one variable. You can see the below code block.
variable "image_id" { default="t2.micro" }
Hi, I think you can use aws_db_instance resource to ...READ MORE
Hi@akhtar, You can find the script in the ...READ MORE
Hi@akhtar, You can use aws_route_table resources in your ...READ MORE
Hi@MD, Terraform has a command named terraform workspace. ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
It can work if you try to put ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
When you use docker-compose down, all the ...READ MORE
Hi@akhtar, You can use aws_s3_bucket_object resource to create one ...READ MORE
Hi@akhtar, You can use kubernetes_namespace resource. It is used ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.