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
Copy file name to clipboardExpand all lines: README.md
+26-5Lines changed: 26 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,11 @@ We suggest creating a personal access token for a GitHub bot user with the follo
108
108
## Usage
109
109
110
110
111
+
**IMPORTANT:** The `master` branch is used in `source` just as an example. In your code, do not pin to `master` because there may be breaking changes between releases.
112
+
Instead pin to the release tag (e.g. `?ref=tags/x.y.z`) of one of our [latest releases](https://github.com/cloudposse/terraform-aws-ecs-atlantis/releases).
113
+
114
+
115
+
111
116
Module usage examples:
112
117
113
118
-[without authentication](examples/without_authentication) - complete example without authentication
| alb_arn_suffix | The ARN suffix of the ALB | string | - | yes |
170
180
| alb_dns_name | DNS name of ALB | string | - | yes |
171
181
| alb_ingress_authenticated_hosts | Authenticated hosts to match in Hosts header (a maximum of 1 can be defined) | list |`<list>`| no |
182
+
| alb_ingress_authenticated_listener_arns | A list of authenticated ALB listener ARNs to attach ALB listener rules to | list |`<list>`| no |
183
+
| alb_ingress_authenticated_listener_arns_count | The number of authenticated ARNs in `alb_ingress_authenticated_listener_arns`. This is necessary to work around a limitation in Terraform where counts cannot be computed | string |`0`| no |
172
184
| alb_ingress_authenticated_paths | Authenticated path pattern to match (a maximum of 1 can be defined) | list |`<list>`| no |
173
185
| alb_ingress_listener_authenticated_priority | The priority for the rules with authentication, between 1 and 50000 (1 being highest priority). Must be different from `alb_ingress_listener_unauthenticated_priority` since a listener can't have multiple rules with the same priority | string |`100`| no |
174
186
| alb_ingress_listener_unauthenticated_priority | The priority for the rules without authentication, between 1 and 50000 (1 being highest priority). Must be different from `alb_ingress_listener_authenticated_priority` since a listener can't have multiple rules with the same priority | string |`50`| no |
175
187
| alb_ingress_unauthenticated_hosts | Unauthenticated hosts to match in Hosts header (a maximum of 1 can be defined) | list |`<list>`| no |
188
+
| alb_ingress_unauthenticated_listener_arns | A list of unauthenticated ALB listener ARNs to attach ALB listener rules to | list |`<list>`| no |
189
+
| alb_ingress_unauthenticated_listener_arns_count | The number of unauthenticated ARNs in `alb_ingress_unauthenticated_listener_arns`. This is necessary to work around a limitation in Terraform where counts cannot be computed | string |`0`| no |
176
190
| alb_ingress_unauthenticated_paths | Unauthenticated path pattern to match (a maximum of 1 can be defined) | list |`<list>`| no |
177
-
| alb_listener_arns | A list of ALB listener ARNs | list | - | yes |
178
-
| alb_listener_arns_count | Number of elements in the list of ALB Listener ARNs for the ECS service | string |`2`| no |
179
191
| alb_name | The Name of the ALB | string | - | yes |
180
192
| alb_target_group_alarms_alarm_actions | A list of ARNs (i.e. SNS Topic ARN) to execute when ALB Target Group alarms transition into an ALARM state from any other state. | list |`<list>`| no |
181
193
| alb_target_group_alarms_insufficient_data_actions | A list of ARNs (i.e. SNS Topic ARN) to execute when ALB Target Group alarms transition into an INSUFFICIENT_DATA state from any other state. | list |`<list>`| no |
@@ -192,7 +204,16 @@ Available targets:
192
204
| atlantis_wake_word | Wake world for Atlantis | string |`atlantis`| no |
193
205
| atlantis_webhook_format | Template for the Atlantis webhook URL which is populated with the hostname | string |`https://%s/events`| no |
194
206
| attributes | Additional attributes (e.g. `1`) | list |`<list>`| no |
195
-
| authentication_action | Authentication action to be placed in front of all other ALB listener actions to authenticate users with Cognito or OIDC. Required when `alb_ingress_authenticated_hosts` or `alb_ingress_authenticated_paths` are provided | map |`<map>`| no |
207
+
| authentication_cognito_user_pool_arn | Cognito User Pool ARN | string | `` | no |
208
+
| authentication_cognito_user_pool_client_id | Cognito User Pool Client ID | string | `` | no |
209
+
| authentication_cognito_user_pool_domain | Cognito User Pool Domain. The User Pool Domain should be set to the domain prefix (`xxx`) instead of full domain (https://xxx.auth.us-west-2.amazoncognito.com)| string | `` | no |
Copy file name to clipboardExpand all lines: docs/terraform.md
+14-3Lines changed: 14 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,15 @@
5
5
| alb_arn_suffix | The ARN suffix of the ALB | string | - | yes |
6
6
| alb_dns_name | DNS name of ALB | string | - | yes |
7
7
| alb_ingress_authenticated_hosts | Authenticated hosts to match in Hosts header (a maximum of 1 can be defined) | list |`<list>`| no |
8
+
| alb_ingress_authenticated_listener_arns | A list of authenticated ALB listener ARNs to attach ALB listener rules to | list |`<list>`| no |
9
+
| alb_ingress_authenticated_listener_arns_count | The number of authenticated ARNs in `alb_ingress_authenticated_listener_arns`. This is necessary to work around a limitation in Terraform where counts cannot be computed | string |`0`| no |
8
10
| alb_ingress_authenticated_paths | Authenticated path pattern to match (a maximum of 1 can be defined) | list |`<list>`| no |
9
11
| alb_ingress_listener_authenticated_priority | The priority for the rules with authentication, between 1 and 50000 (1 being highest priority). Must be different from `alb_ingress_listener_unauthenticated_priority` since a listener can't have multiple rules with the same priority | string |`100`| no |
10
12
| alb_ingress_listener_unauthenticated_priority | The priority for the rules without authentication, between 1 and 50000 (1 being highest priority). Must be different from `alb_ingress_listener_authenticated_priority` since a listener can't have multiple rules with the same priority | string |`50`| no |
11
13
| alb_ingress_unauthenticated_hosts | Unauthenticated hosts to match in Hosts header (a maximum of 1 can be defined) | list |`<list>`| no |
14
+
| alb_ingress_unauthenticated_listener_arns | A list of unauthenticated ALB listener ARNs to attach ALB listener rules to | list |`<list>`| no |
15
+
| alb_ingress_unauthenticated_listener_arns_count | The number of unauthenticated ARNs in `alb_ingress_unauthenticated_listener_arns`. This is necessary to work around a limitation in Terraform where counts cannot be computed | string |`0`| no |
12
16
| alb_ingress_unauthenticated_paths | Unauthenticated path pattern to match (a maximum of 1 can be defined) | list |`<list>`| no |
13
-
| alb_listener_arns | A list of ALB listener ARNs | list | - | yes |
14
-
| alb_listener_arns_count | Number of elements in the list of ALB Listener ARNs for the ECS service | string |`2`| no |
15
17
| alb_name | The Name of the ALB | string | - | yes |
16
18
| alb_target_group_alarms_alarm_actions | A list of ARNs (i.e. SNS Topic ARN) to execute when ALB Target Group alarms transition into an ALARM state from any other state. | list |`<list>`| no |
17
19
| alb_target_group_alarms_insufficient_data_actions | A list of ARNs (i.e. SNS Topic ARN) to execute when ALB Target Group alarms transition into an INSUFFICIENT_DATA state from any other state. | list |`<list>`| no |
@@ -28,7 +30,16 @@
28
30
| atlantis_wake_word | Wake world for Atlantis | string |`atlantis`| no |
29
31
| atlantis_webhook_format | Template for the Atlantis webhook URL which is populated with the hostname | string |`https://%s/events`| no |
30
32
| attributes | Additional attributes (e.g. `1`) | list |`<list>`| no |
31
-
| authentication_action | Authentication action to be placed in front of all other ALB listener actions to authenticate users with Cognito or OIDC. Required when `alb_ingress_authenticated_hosts` or `alb_ingress_authenticated_paths` are provided | map |`<map>`| no |
33
+
| authentication_cognito_user_pool_arn | Cognito User Pool ARN | string | `` | no |
34
+
| authentication_cognito_user_pool_client_id | Cognito User Pool Client ID | string | `` | no |
35
+
| authentication_cognito_user_pool_domain | Cognito User Pool Domain. The User Pool Domain should be set to the domain prefix (`xxx`) instead of full domain (https://xxx.auth.us-west-2.amazoncognito.com)| string | `` | no |
0 commit comments