Skip to content

Commit

Permalink
Remove quotes to variable types (now deprecated)
Browse files Browse the repository at this point in the history
  • Loading branch information
arbulu89 committed Nov 25, 2019
1 parent 696c352 commit 8fa05c3
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 21 deletions.
2 changes: 1 addition & 1 deletion aws/create_remote_state/vars.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variable "aws_region" {
type = "string"
type = string
default = "eu-central-1"
}

Expand Down
2 changes: 1 addition & 1 deletion aws/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ variable "host_ips" {
# Contains the salt formulas rpm packages.
variable "ha_sap_deployment_repo" {
description = "Repository url used to install HA/SAP deployment packages"
type = "string"
type = string
}

variable "scenario_type" {
Expand Down
1 change: 0 additions & 1 deletion azure/modules/drbd_node/salt_provisioner.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ ha_sap_deployment_repo: ${var.ha_sap_deployment_repo}
monitoring_enabled: ${var.monitoring_enabled}
devel_mode: ${var.devel_mode}
qa_mode: ${var.qa_mode}
drbd_nodes: ${var.drbd_count}
partitions:
1:
start: 0%
Expand Down
1 change: 0 additions & 1 deletion libvirt/modules/drbd_node/salt_provisioner.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ sbd_disk_device: "${var.shared_storage_type == "iscsi" ? "/dev/sda" : "/dev/vdc"
iscsi_srv_ip: ${var.iscsi_srv_ip}
ha_sap_deployment_repo: ${var.ha_sap_deployment_repo}
monitoring_enabled: ${var.monitoring_enabled}
drbd_nodes: ${var.drbd_count}
partitions:
1:
start: 0%
Expand Down
4 changes: 2 additions & 2 deletions libvirt/modules/drbd_node/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ variable "reg_additional_modules" {
// hana/drbd
variable "ha_sap_deployment_repo" {
description = "Repository url used to install HA/SAP deployment packages"
type = "string"
type = string
}

variable "devel_mode" {
Expand Down Expand Up @@ -136,7 +136,7 @@ variable "monitoring_enabled" {
// sbd disks
variable "sbd_disk_id" {
description = "SBD disk volume id"
type = "string"
type = string
}

variable "pool" {
Expand Down
4 changes: 2 additions & 2 deletions libvirt/modules/hana_node/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ variable "reg_additional_modules" {
// hana
variable "ha_sap_deployment_repo" {
description = "Repository url used to install HA/SAP deployment packages"
type = "string"
type = string
}

variable "devel_mode" {
Expand Down Expand Up @@ -81,7 +81,7 @@ variable "shared_storage_type" {

variable "sbd_disk_id" {
description = "SBD disk volume id"
type = "string"
type = string
}

variable "iscsi_srv_ip" {
Expand Down
10 changes: 5 additions & 5 deletions libvirt/modules/iscsi_server/variables.tf
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
variable "iscsi_image" {
description = "iscsi server base image"
type = "string"
type = string
}

variable "iscsi_srv_ip" {
description = "iscsi server address"
type = "string"
type = string
}

variable "iscsidev" {
description = "device iscsi for iscsi server"
type = "string"
type = string
}

variable "ha_sap_deployment_repo" {
description = "Repository url used to install HA/SAP deployment packages"
type = "string"
type = string
}

variable "reg_code" {
Expand All @@ -30,7 +30,7 @@ variable "reg_email" {

variable "reg_additional_modules" {
description = "Map of the modules to be registered. Module name = Regcode, when needed."
type = "map"
type = map
default = {}
}

Expand Down
4 changes: 2 additions & 2 deletions libvirt/modules/monitoring/variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
variable "monitoring_image" {
description = "monitoring server base image"
type = "string"
type = string
default = ""
}

Expand Down Expand Up @@ -63,7 +63,7 @@ variable "additional_packages" {

variable "ha_sap_deployment_repo" {
description = "Repository url used to install HA/SAP deployment packages"
type = "string"
type = string
}

variable "public_key_location" {
Expand Down
5 changes: 2 additions & 3 deletions libvirt/modules/netweaver_node/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ variable "reg_additional_modules" {

variable "ha_sap_deployment_repo" {
description = "Repository url used to install HA/SAP deployment packages"
type = "string"
type = string
}


variable "additional_packages" {
description = "extra packages which should be installed"
default = []
Expand All @@ -53,7 +52,7 @@ variable "host_ips" {

variable "shared_disk_id" {
description = "ASCS and ERS shared disk volume id"
type = "string"
type = string
}

variable "netweaver_inst_media" {
Expand Down
4 changes: 2 additions & 2 deletions libvirt/modules/shared_disk/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ resource "libvirt_volume" "shared_disk" {
count = var.shared_disk_count

xml {
xslt = "${file("modules/shared_disk/raw.xsl")}"
xslt = file("modules/shared_disk/raw.xsl")
}
}

output "id" {
value = "${join(",", libvirt_volume.shared_disk.*.id)}"
value = join(",", libvirt_volume.shared_disk.*.id)
}
2 changes: 1 addition & 1 deletion libvirt/modules/shared_disk/variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
variable "name" {
description = "name of the disk"
type = "string"
type = string
}

variable "pool" {
Expand Down

0 comments on commit 8fa05c3

Please sign in to comment.