Most voted questions in Terraform

+2 votes
1 answer

How to attach an elastic load balancer with ec2 instance using Terraform?

Hi@akhtar, You can use aws_elb_attachment resource in Terraform. ...READ MORE

Aug 17, 2020 in Terraform by MD
• 95,460 points
3,047 views
+2 votes
1 answer

How to create elastic load balancer using Terraform?

Hi@akhtar, You can use an aws_elb load balancer ...READ MORE

Aug 17, 2020 in Terraform by MD
• 95,460 points
4,159 views
+2 votes
1 answer

What is the difference between modules and workspaces in Terraform?

Hi@akhtar, I think a key difference between Terraform ...READ MORE

Aug 17, 2020 in Terraform by MD
• 95,460 points
2,509 views
+2 votes
1 answer

How to create a workspace in terraform?

Hi@MD, Terraform has a command named terraform workspace. ...READ MORE

Aug 17, 2020 in Terraform by akhtar
• 38,260 points
1,154 views
+2 votes
1 answer

can we start and stop EC2 instance using Terraform?

Hi@Lakshminarayanan, You can use command inside your local-exec ...READ MORE

Aug 17, 2020 in Terraform by MD
• 95,460 points
7,829 views
+2 votes
1 answer

Error: Error creating route: RouteAlreadyExists: The route identified by 0.0.0.0/0 already exists.

Hi@Lakshminarayanan, First thing I want to suggest you ...READ MORE

Aug 10, 2020 in Terraform by MD
• 95,460 points
6,208 views
+1 vote
1 answer

Error: MalformedPolicyDocumentException: The new key policy will not allow you to update the key policy in the future.

Hi, I think there is a problem with ...READ MORE

Aug 10, 2020 in Terraform by MD
• 95,460 points
9,789 views
0 votes
0 answers

I tried to run terraform init and i keep keep getting an error message

terraform : The term 'terraform' is not ...READ MORE

Jul 22, 2022 in Terraform by Pride Cho

edited Mar 4 179 views
0 votes
0 answers

Need help to create from VMware VM input file (1 vM by line, 5o lines) based on Template to generate automation file

Environment: Vmware-Vsphere, terraform and template READ MORE

May 23, 2022 in Terraform by OGENELE

edited Mar 4 176 views
0 votes
1 answer

How to remove a resource from Terraform state?

Hi@akhtar, First, you need to remove the resource ...READ MORE

Dec 7, 2020 in Terraform by MD
• 95,460 points
29,424 views
0 votes
1 answer

How to use dynamic resource names in Terraform?

Hi@akhtar, I recommend using a different workspace for each ...READ MORE

Dec 7, 2020 in Terraform by MD
• 95,460 points
3,166 views
0 votes
1 answer

When are variables defined in Terraform?

Hi@akhtar, You can provide the value of each ...READ MORE

Dec 7, 2020 in Terraform by MD
• 95,460 points
1,348 views
0 votes
1 answer

How are data sources used in Terraform?

Hi@akhtar, A data source is accessed via a ...READ MORE

Dec 7, 2020 in Terraform by MD
• 95,460 points
1,683 views
0 votes
1 answer

What does Terraform refresh really do?

Hi@akhtar, The terraform refresh command is used to reconcile the ...READ MORE

Dec 7, 2020 in Terraform by MD
• 95,460 points
5,125 views
0 votes
1 answer

How to read the volume ID of the EC2 instance using Terraform?

Hi@akhtar, You won't be able to extract EBS ...READ MORE

Dec 4, 2020 in Terraform by MD
• 95,460 points
2,595 views
0 votes
1 answer

An argument named "versioning" is not expected here. Did you mean to define a block of type "versioning"?

Hi@akhtar, The error is telling that you need ...READ MORE

Dec 1, 2020 in Terraform by MD
• 95,460 points
3,179 views
0 votes
1 answer

How to create GCS bucket with versioning using Terraform?

Hi@MD, You can create a new bucket in Google ...READ MORE

Dec 1, 2020 in Terraform by akhtar
• 38,260 points
1,830 views
0 votes
1 answer

How to add a DNS record in GCP using Terraform?

Hi@akhtar, You can use the google_dns_managed_zone resource to ...READ MORE

Dec 1, 2020 in Terraform by MD
• 95,460 points
2,322 views
0 votes
0 answers

How to create a Kubernetes cluster on Google Cloud using Terraform?

Hi Team, I am new to Terraform. I ...READ MORE

Dec 1, 2020 in Terraform by akhtar
• 38,260 points
895 views
0 votes
1 answer

How to create GCP instance with public IP with terraform?

Hi@akhtar, You need to specify "access_config" under "network_interface" ...READ MORE

Dec 1, 2020 in Terraform by MD
• 95,460 points
2,240 views
0 votes
1 answer

GCP Custom IAM role creation with Terraform.

Hi@akhtar, You can use the google_project_iam_custom_role resource in Terraform. ...READ MORE

Dec 1, 2020 in Terraform by MD
• 95,460 points
1,618 views
0 votes
1 answer

In gcp service account had created manually, right now i need to add the members to service account through terraform

Hi@poorna, You can find one resource named google_service_account_iam_member in ...READ MORE

Dec 1, 2020 in Terraform by MD
• 95,460 points
1,974 views
0 votes
1 answer

How to create Google App Engine using Terraform?

Hi@akhtar, You can launch an Application in Google ...READ MORE

Sep 30, 2020 in Terraform by MD
• 95,460 points
2,781 views
0 votes
1 answer

How to configure AWS MFA for Terraform?

Hi@akhtar, You can specify assume_role in your AWS ...READ MORE

Sep 30, 2020 in Terraform by MD
• 95,460 points
2,821 views
0 votes
1 answer

What is the null resource in Terraform?

Hi@akhtar, The null_resource resource implements the standard resource ...READ MORE

Sep 29, 2020 in Terraform by MD
• 95,460 points
3,977 views
0 votes
1 answer

How to check the installed version of Terraform?

Hi@akhtar, To check the version, launch Windows PowerShell ...READ MORE

Sep 29, 2020 in Terraform by MD
• 95,460 points
27,069 views
0 votes
1 answer

Uses of Terraform CLI.

Hi@akhtar, Terraform is controlled via a very easy ...READ MORE

Sep 29, 2020 in Terraform by MD
• 95,460 points
1,014 views
0 votes
1 answer

How does Terraform work?

Hi@akhtar, Terraform produce an execution plan delineate, what ...READ MORE

Sep 29, 2020 in Terraform by MD
• 95,460 points
1,354 views
0 votes
1 answer

Create configMap in Kubernetes using Terraform Script.

Hi@akhtar, You can use the kubernetes_config_map resource in ...READ MORE

Sep 28, 2020 in Terraform by MD
• 95,460 points
3,803 views
0 votes
1 answer

Create a secret in Kubernetes using Terraform.

Hi@akhtar, Terraform has resource to create a secret ...READ MORE

Sep 28, 2020 in Terraform by MD
• 95,460 points
2,876 views
0 votes
1 answer

How to get LoadBalancer IP in Kubernetes using Terraform script?

Hi@akhtar, In your Terraform script, you can output ...READ MORE

Sep 28, 2020 in Terraform by MD
• 95,460 points
3,643 views
0 votes
1 answer

How to expose a Pod in Kubernetes using Terraform?

Hi@MD, You can use kubernetes_service resource to expose ...READ MORE

Sep 28, 2020 in Terraform by akhtar
• 38,260 points
985 views
0 votes
2 answers

Where do I get Hashicorp certified Terraform associate dumps or exam questions for practice?

From my personal experience, i have used ...READ MORE

Dec 15, 2020 in Terraform by kodilil
• 440 points
3,196 views
0 votes
1 answer

How to create Filestore instance in GCP using Terraform?

Hi@akhtar, You can manage services in the GCP ...READ MORE

Sep 14, 2020 in Terraform by MD
• 95,460 points
2,796 views
0 votes
1 answer

Create service in Kubernetes cluster using Terraform.

Hi@MD, To expose the pod to end-users, provision ...READ MORE

Sep 14, 2020 in Terraform by akhtar
• 38,260 points
801 views
0 votes
1 answer

How to create a security rule in GCP using Terraform?

Hi@akhtar, A Security Policy defines an IP blacklist ...READ MORE

Sep 14, 2020 in Terraform by MD
• 95,460 points
1,451 views
0 votes
1 answer

How to create aws eks fargate profile using Terraform?

Hi@akhtar, You can find a resource for AWS ...READ MORE

Sep 14, 2020 in Terraform by MD
• 95,460 points
1,722 views
0 votes
1 answer

How to create a namespace in the Kubernetes cluster using Terraform?

Hi@akhtar, You can use kubernetes_namespace resource in your ...READ MORE

Sep 14, 2020 in Terraform by MD
• 95,460 points
9,176 views
0 votes
1 answer

How to connect to the Kubernetes cluster from Terraform?

Hi@akhtar, You need to install the plugins using ...READ MORE

Sep 14, 2020 in Terraform by MD
• 95,460 points
987 views
0 votes
2 answers

How to create a customized IAM policy in GCP using Terraform?

You can visit Terraform official site for ...READ MORE

Sep 14, 2020 in Terraform by Peter
• 180 points
2,034 views
0 votes
1 answer

How to set an IAM policy for a project in GCP using Terraform?

Hi@akhtar, You can create a policy and give ...READ MORE

Sep 13, 2020 in Terraform by akhtar
• 38,260 points
1,772 views
0 votes
1 answer

Create a project in GCP using Terraform.

Hi@akhtar, Terraform has a resource named google_project. This ...READ MORE

Sep 13, 2020 in Terraform by MD
• 95,460 points
1,141 views
0 votes
1 answer

How to create subnets in GCP cloud using Terraform?

Hi@akhtar, You need to create a network first. ...READ MORE

Sep 13, 2020 in Terraform by MD
• 95,460 points
2,177 views
0 votes
1 answer

How to create a VPC in GCP Cloud using Terraform code?

Hi@akhtar, You can create your own VPC in ...READ MORE

Sep 13, 2020 in Terraform by MD
• 95,460 points
1,836 views
0 votes
1 answer

How to create a service account key in GCP Cloud using Terraform?

Hi@akhtar, You need to create a service account ...READ MORE

Sep 13, 2020 in Terraform by MD
• 95,460 points
1,810 views
0 votes
1 answer

How to create a service account in GCP using Terraform?

Hi@akhtar, You can create a service account in ...READ MORE

Sep 13, 2020 in Terraform by MD
• 95,460 points
2,599 views
0 votes
1 answer

How to launch an instance in GCP using Terraform?

Hi@akhtar, You can use the google_compute_instance resource in ...READ MORE

Sep 12, 2020 in Terraform by MD
• 95,460 points
982 views
0 votes
1 answer

How to use GCP provider in Terraform?

Hi@akhtar, Terraform supports many providers to deploy the ...READ MORE

Sep 12, 2020 in Terraform by MD
• 95,460 points
850 views
0 votes
1 answer

Error:No credentials loaded. To use your gcloud credentials, run 'gcloud auth application-default login'.

Hi@akhtar, You are trying to connect the GCP ...READ MORE

Sep 12, 2020 in Terraform by MD
• 95,460 points
4,884 views