You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2024. It is now read-only.
Tfhartmann/plat 1944 deploy to second cluster (#3)
* Lots of updates, including adding second vault cluster
* removing depricated error
* Formating
* Removed "extra_tags" param
It wasn't being used at all, using the tags map instead
Copy file name to clipboardExpand all lines: README.md
+21-15Lines changed: 21 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -57,28 +57,34 @@ Module Input Variables
57
57
58
58
#### Optional
59
59
60
-
-`vault_image` - Image to use when deploying vault, defaults to the hashicorp vault image
61
-
-`desired_count` - Number of vaults that ECS should run. Defaults to 2
60
+
-`vault_image` - Image to use when deploying vault, (Default: hashicorp/vault)
61
+
-`cloudwatch_log_retention` - Specifies the number of days you want to retain log events in the specified log group. (Default: 30)
62
+
-`desired_count` - Number of vaults that ECS should run. (Default: 2)
62
63
-`hostname` - DNS Hostname for the bastion host. Defaults to ${VPC NAME}.${dns_zone} if hostname is not set
63
-
-`iam_path` - IAM path, this is useful when creating resources with the same name across multiple regions. Defaults to /
64
-
-`region` - AWS Region, defaults to us-east-1
64
+
-`iam_path` - IAM path, this is useful when creating resources with the same name across multiple regions. (Default: / )
65
+
-`lb_deregistration_delay` - The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. (Default: 300)
66
+
-`service_minimum_healthy_percent` - The minimum healthy percent represents a lower limit on the number of your service's tasks that must remain in the RUNNING state during a deployment
Copy file name to clipboardExpand all lines: variables.tf
+22-5Lines changed: 22 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,11 @@ variable "vault_image" {
7
7
default="vault:latest"
8
8
}
9
9
10
+
variable"cloudwatch_log_retention" {
11
+
default="30"
12
+
description="Specifies the number of days you want to retain log events in the specified log group. (defaults to 30)"
13
+
}
14
+
10
15
variable"desired_count" {
11
16
description="Number of vaults that ECS should run."
12
17
default="2"
@@ -16,8 +21,9 @@ variable "dns_zone" {
16
21
description="Zone where the Consul UI alb will be created. This should *not* be consul.example.com"
17
22
}
18
23
19
-
variable"ecs_cluster_id" {
20
-
description="ARN of the ECS ID"
24
+
variable"ecs_cluster_ids" {
25
+
type="list"
26
+
description="List of ARNs of the ECS Cluster IDs"
21
27
}
22
28
23
29
variable"env" {}
@@ -32,14 +38,25 @@ variable "iam_path" {
32
38
description="IAM path, this is useful when creating resources with the same name across multiple regions. Defaults to /"
33
39
}
34
40
41
+
variable"lb_deregistration_delay" {
42
+
default="300"
43
+
description="The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. (Default: 300)"
44
+
}
45
+
46
+
variable"service_minimum_healthy_percent" {
47
+
description="The minimum healthy percent represents a lower limit on the number of your service's tasks that must remain in the RUNNING state during a deployment (default 50)"
48
+
default="50"
49
+
}
50
+
35
51
variable"subnets" {
36
52
type="list"
37
53
description="List of subnets used to deploy the Consul alb"
38
54
}
39
55
40
-
variable"region" {
41
-
default="us-east-1"
42
-
description="AWS Region, defaults to us-east-1"
56
+
variable"tags" {
57
+
type="map"
58
+
description="A map of tags to add to all resources"
0 commit comments