-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from clouddrove/issue-466
feat: update subnet tag and vpc
- Loading branch information
Showing
13 changed files
with
63 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Terraform version | ||
terraform { | ||
required_version = ">= 1.5.0" | ||
|
||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">= 5.9.0" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Terraform version | ||
terraform { | ||
required_version = ">= 1.5.0" | ||
|
||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">= 5.9.0" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
output "arn" { | ||
value = module.nlb.*.arn | ||
value = module.nlb[*].arn | ||
description = "The ARN suffix of the ALB" | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Terraform version | ||
terraform { | ||
required_version = ">= 1.5.0" | ||
|
||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">= 5.9.0" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,24 +31,6 @@ variable "label_order" { | |
description = "Label order, e.g. `name`,`application`." | ||
} | ||
|
||
variable "attributes" { | ||
type = list(any) | ||
default = [] | ||
description = "Additional attributes (e.g. `1`)." | ||
} | ||
|
||
variable "delimiter" { | ||
type = string | ||
default = "-" | ||
description = "Delimiter to be used between `organization`, `environment`, `name` and `attributes`." | ||
} | ||
|
||
variable "tags" { | ||
type = map(any) | ||
default = {} | ||
description = "Additional tags (e.g. map(`BusinessUnit`,`XYZ`)." | ||
} | ||
|
||
variable "managedby" { | ||
type = string | ||
default = "[email protected]" | ||
|
@@ -123,20 +105,6 @@ variable "enable_deletion_protection" { | |
description = "If true, deletion of the load balancer will be disabled via the AWS API. This will prevent Terraform from deleting the load balancer. Defaults to false." | ||
} | ||
|
||
variable "subnet_id" { | ||
type = string | ||
default = "" | ||
description = "The id of the subnet of which to attach to the load balancer. You can specify only one subnet per Availability Zone." | ||
sensitive = true | ||
} | ||
|
||
variable "allocation_id" { | ||
type = string | ||
default = "" | ||
description = "The allocation ID of the Elastic IP address." | ||
sensitive = true | ||
} | ||
|
||
variable "https_port" { | ||
type = number | ||
default = 443 | ||
|
@@ -289,12 +257,6 @@ variable "listeners" { | |
description = "A list of listener configurations for the ELB." | ||
} | ||
|
||
variable "enable_connection_draining" { | ||
type = bool | ||
default = false | ||
description = "Whether or not to enable connection draining (\"true\" or \"false\")." | ||
} | ||
|
||
variable "connection_draining_timeout" { | ||
type = number | ||
default = 300 | ||
|
@@ -307,12 +269,6 @@ variable "connection_draining" { | |
description = "TBoolean to enable connection draining. Default: false." | ||
} | ||
|
||
variable "availability_zones" { | ||
default = [] | ||
type = list(map(string)) | ||
description = "The AZ's to serve traffic in." | ||
} | ||
|
||
variable "health_check_target" { | ||
description = "The target to use for health checks." | ||
type = string | ||
|
@@ -365,12 +321,6 @@ variable "listener_https_fixed_response" { | |
default = null | ||
} | ||
|
||
variable "https_listener_rules" { | ||
description = "A list of maps describing the Listener Rules for this ALB. Required key/values: actions, conditions. Optional key/values: priority, https_listener_index (default to https_listeners[count.index])" | ||
type = any | ||
default = [] | ||
} | ||
|
||
variable "with_target_group" { | ||
type = bool | ||
default = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Terraform version | ||
terraform { | ||
required_version = ">= 1.4.6" | ||
required_version = ">= 1.5.0" | ||
|
||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">= 5.1.0" | ||
version = ">= 5.9.0" | ||
} | ||
} | ||
} | ||
} |