Most viewed questions in Terraform

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,603 views
0 votes
2 answers

What is Terraform?

Terraform is a provisioning tool that seems ...READ MORE

Aug 29, 2020 in Terraform by nbavis
• 380 points
2,570 views
0 votes
1 answer

Error: Inappropriate value for attribute "content": string required.

Hi@MD, You have to pass in which format ...READ MORE

Jun 15, 2020 in Terraform by akhtar
• 38,260 points
2,494 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,441 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,317 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,267 views
0 votes
1 answer

How to create Internet gateway in AWS usng Terraform?

Hi@akhtar, You can find one resource named aws_internet_gateway. ...READ MORE

Jul 21, 2020 in Terraform by MD
• 95,460 points
2,174 views
0 votes
1 answer

How to create a policy for AWS EFS file system using Terraform?

Hi@akhtar, You can find one resource in Terraform ...READ MORE

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

How to import module in Terraform code?

Hi@akhtar, A module is a container for multiple resources that ...READ MORE

Jul 21, 2020 in Terraform by MD
• 95,460 points
2,145 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,129 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,049 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,041 views
0 votes
1 answer

How to run local command using terraform?

Hi@akhtar, You can use provisioner keyword to run ...READ MORE

Jun 15, 2020 in Terraform by MD
• 95,460 points
1,902 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
1,850 views
0 votes
1 answer

What is data source in Terraform?

Hi@akhtar, Data sources allow data to be fetched or ...READ MORE

Jul 23, 2020 in Terraform by MD
• 95,460 points
1,827 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,803 views
0 votes
1 answer

How to create a namespace in minikube using Terraform?

Hi@akhtar, You can use kubernetes_namespace resource. It is used ...READ MORE

Jun 30, 2020 in Terraform by MD
• 95,460 points
1,715 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,685 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,662 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,661 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,586 views
0 votes
1 answer

How to create one key in AWS using terraform?

Hi@akhtar, You can use aws_key_pair resource n terraform. ...READ MORE

Jun 11, 2020 in Terraform by MD
• 95,460 points
1,564 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,505 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,504 views
0 votes
1 answer

Terraform output: Error: module “rds”: “monitoring_role_arn” is not a valid argument

Hi@mgb, I have checked the document. You are ...READ MORE

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

How to create one S3 bucket in AWS using Terraform?

Hi@akhtar, You need to set aws provider name ...READ MORE

Jul 23, 2020 in Terraform by MD
• 95,460 points
1,417 views
0 votes
1 answer

Why terraform is ignoring a manually created s3 bucket?

Hi@akhtar, Terraform is a declarative language, you can ...READ MORE

Sep 11, 2020 in Terraform by akhtar
• 38,260 points
1,408 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,389 views
0 votes
1 answer

How to create an EFS in AWS from Terraform Code?

Hi@MD, You can use aws_efs_file_system resource in Terraform. ...READ MORE

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

How to create a VPC in AWS using Terraform?

Hi@akhtar, You can find the script in the ...READ MORE

Jul 21, 2020 in Terraform by MD
• 95,460 points
1,355 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,288 views
0 votes
1 answer

How to launch one MySQL instance using Terraform code?

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

Sep 9, 2020 in Terraform by MD
• 95,460 points
1,283 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,231 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,129 views
0 votes
1 answer

List down all namespaces in minikube using Terraform.

Hi@akhtar, You can use data source in Terraform. ...READ MORE

Jun 30, 2020 in Terraform by MD
• 95,460 points
1,090 views
0 votes
1 answer

* Error: "field_name": this field cannot be set

Hi@akhtar, You are likely using an older version ...READ MORE

Jun 15, 2020 in Terraform by MD
• 95,460 points
1,045 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,007 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,001 views
0 votes
1 answer

How to integrate kubernetes with Terraform?

Hi@akhtar, You can use Kubernetes as your Terraform ...READ MORE

Jun 16, 2020 in Terraform by MD
• 95,460 points
976 views
0 votes
1 answer

What is a Terraform provider?

Hi@akhtar, Terraform is agnostic to the underlying cloud ...READ MORE

Jul 23, 2020 in Terraform by MD
• 95,460 points
877 views
0 votes
1 answer

How to launch one EC2 instance for WordPress using Terraform?

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

Sep 9, 2020 in Terraform by MD
• 95,460 points
856 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
847 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
826 views
0 votes
1 answer

How to create a variable in Terraform?

Hi@akhtar, Terraform has an inbuilt variable keyword to ...READ MORE

Jul 21, 2020 in Terraform by MD
• 95,460 points
802 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
783 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
773 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
773 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
716 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
627 views