Skip to content

Commit cccbdc4

Browse files
author
Steven Nemetz
committed
Specify variable types
1 parent 0d82b2c commit cccbdc4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

variables.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,30 @@ variable "autoscaling_group" {
1111

1212
variable "component" {
1313
description = "TAG: Underlying, dedicated piece of service (Cache, DB, ...)"
14+
type = "string"
1415
default = "UNDEF"
1516
}
1617

1718
variable "delimiter" {
1819
description = "Delimiter to be used between `name`, `namespaces`, `attributes`, etc."
20+
type = "string"
1921
default = "-"
2022
}
2123

2224
variable "environment" {
2325
description = "Environment (ex: `dev`, `qa`, `stage`, `prod`). (Second or top level namespace. Depending on namespacing options)"
26+
type = "string"
2427
}
2528

2629
variable "monitor" {
2730
description = "TAG: Should resource be monitored"
31+
type = "string"
2832
default = "UNDEF"
2933
}
3034

3135
variable "name" {
3236
description = "Base name for resource"
37+
type = "string"
3338
}
3439

3540
variable "namespace-env" {
@@ -44,21 +49,25 @@ variable "namespace-org" {
4449

4550
variable "organization" {
4651
description = "Organization name (Top level namespace)"
52+
type = "string"
4753
default = ""
4854
}
4955

5056
variable "owner" {
5157
description = "TAG: Owner of the service"
58+
type = "string"
5259
default = "UNDEF"
5360
}
5461

5562
variable "product" {
5663
description = "TAG: Company/business product"
64+
type = "string"
5765
default = "UNDEF"
5866
}
5967

6068
variable "service" {
6169
description = "TAG: Application (microservice) name"
70+
type = "string"
6271
default = "UNDEF"
6372
}
6473

@@ -70,5 +79,6 @@ variable "tags" {
7079

7180
variable "team" {
7281
description = "TAG: Department/team of people responsible for service"
82+
type = "string"
7383
default = "UNDEF"
7484
}

0 commit comments

Comments
 (0)