QuackatronHQ / Gigarepo

variable declaration without type TF-L0043
Anti-pattern
Minor
11 occurrences in this check
gcp_zone variable has no type
36  default = "debian-cloud/debian-11"
37}
38
39variable "gcp_zone" {40  description = "GCP zone"
41  default = "us-west1-b"
42}
instance_name variable has no type
26  default = "n1-standard-1"
27}
28
29variable "instance_name" {30  description = "GCP instance name"
31  default = "gcp_instance"
32}
machine_type variable has no type
21  region      = "${var.gcp_region}"
22}
23
24variable "machine_type" {25  description = "GCP machine type"
26  default = "n1-standard-1"
27}
gcp_credentials variable has no type
11  default = "us-west1"
12}
13
14variable "gcp_credentials" {15  description = "GCP credentials needed by Google provider"
16}
17
gcp_region variable has no type
 6  description = "GCP project name"
 7}
 8
 9variable "gcp_region" {10  description = "GCP region"
11  default = "us-west1"
12}
gcp_project variable has no type
 2  required_version = ">= 0.15.1"
 3}
 4
 5variable "gcp_project" { 6  description = "GCP project name"
 7}
 8
image variable has no type
31  default = "gcp_instance"
32}
33
34variable "image" {35  description = "Image to build instance from"
36  default = "debian-cloud/debian-11"
37}
name variable has no type
13  default = "t2.micro"
14}
15
16variable "name" {17  description = "Name Tag"
18  default = "Provisioned by Terraform"
19}
instance_type variable has no type
 8  default = "ami-2e1ef954"
 9}
10
11variable "instance_type" {12  description = "EC2 instance type to provision"
13  default = "t2.micro"
14}
ami_id variable has no type
 3  default = "eu-west-1"
 4}
 5
 6variable "ami_id" { 7  description = "AMI's ID to provision"
 8  default = "ami-2e1ef954"
 9}
aws_region variable has no type
 1variable "aws_region" { 2  description = "AWS region"
 3  default = "eu-west-1"
 4}