Skip to content

Commit

Permalink
Merge pull request #261 from mpagot/terraform_vm_size
Browse files Browse the repository at this point in the history
Remove machine type default from AWS
  • Loading branch information
alvarocarvajald authored Aug 29, 2024
2 parents 8d5072d + edf9c8c commit 5baf068
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 29 deletions.
15 changes: 7 additions & 8 deletions terraform/aws/modules/hana_node/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,38 +19,37 @@ variable "hana_count" {
}

variable "instance_type" {
type = string
default = "r3.8xlarge"
type = string
}

variable "availability_zones" {
type = list(string)
description = "Used availability zones"
type = list(string)
}

variable "vpc_id" {
type = string
description = "Id of the vpc used for this deployment"
type = string
}

variable "subnet_address_range" {
type = list(string)
description = "List with subnet address ranges in cidr notation to create the netweaver subnets"
type = list(string)
}

variable "key_name" {
type = string
description = "AWS key pair name"
type = string
}

variable "security_group_id" {
type = string
description = "Security group id"
type = string
}

variable "route_table_id" {
type = string
description = "Route table id"
type = string
}

variable "aws_credentials" {
Expand Down
13 changes: 6 additions & 7 deletions terraform/aws/modules/iscsi_server/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ variable "common_variables" {
}

variable "availability_zones" {
type = list(string)
description = "Used availability zones"
type = list(string)
}

variable "subnet_ids" {
type = list(string)
description = "Subnet ids to attach the machines network interface"
type = list(string)
}

variable "name" {
Expand All @@ -23,24 +23,23 @@ variable "network_domain" {
}

variable "iscsi_count" {
type = number
description = "Number of iscsi machines to deploy"
type = number
}

variable "instance_type" {
type = string
description = "The instance type of iscsi server node."
default = "t2.large"
type = string
}

variable "key_name" {
type = string
description = "AWS key pair name"
type = string
}

variable "security_group_id" {
type = string
description = "Security group id"
type = string
}

variable "host_ips" {
Expand Down
9 changes: 4 additions & 5 deletions terraform/aws/modules/monitoring/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ variable "monitoring_enabled" {
variable "instance_type" {
description = "The instance type of monitoring node."
type = string
default = "t3.micro"
}

variable "name" {
Expand All @@ -25,13 +24,13 @@ variable "network_domain" {
}

variable "key_name" {
type = string
description = "AWS key pair name"
type = string
}

variable "security_group_id" {
type = string
description = "Security group id"
type = string
}

variable "monitoring_srv_ip" {
Expand All @@ -41,13 +40,13 @@ variable "monitoring_srv_ip" {
}

variable "availability_zones" {
type = list(string)
description = "Used availability zones"
type = list(string)
}

variable "subnet_ids" {
type = list(string)
description = "List of subnet IDs"
type = list(string)
}

variable "timezone" {
Expand Down
18 changes: 9 additions & 9 deletions terraform/aws/modules/netweaver_node/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ variable "app_server_count" {
}

variable "instance_type" {
type = string
default = "r3.8xlarge"
description = "The instance type of netweaver node."
type = string
}

variable "name" {
Expand All @@ -28,38 +28,38 @@ variable "network_domain" {
}

variable "availability_zones" {
type = list(string)
description = "Used availability zones"
type = list(string)
}

variable "vpc_id" {
type = string
description = "Id of the vpc used for this deployment"
type = string
}

variable "subnet_address_range" {
type = list(string)
description = "List with subnet address ranges in cidr notation to create the netweaver subnets"
type = list(string)
}

variable "key_name" {
type = string
description = "AWS key pair name"
type = string
}

variable "security_group_id" {
type = string
description = "Security group id"
type = string
}

variable "route_table_id" {
type = string
description = "Route table id"
type = string
}

variable "efs_performance_mode" {
type = string
description = "Performance mode of the EFS storage used by Netweaver"
type = string
default = "generalPurpose"
}

Expand Down

0 comments on commit 5baf068

Please sign in to comment.