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
+20
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,25 @@ Make sure that both private and public subnets were created in the same set of a
100
100
101
101
If all provided subnets are public (no NAT gateway) then `ecs_service_assign_public_ip` should be set to `true`.
102
102
103
+
104
+
### Secure Atlantis with ALB Built-in Authentication and Auth0
105
+
106
+
You can use service like [Auth0](https://www.auth0.com) to secure access to Atlantis and require authentication on ALB. To enable this, you need to create Auth0 application and provide correct arguments to Atlantis module. Make sure to update application hostname, client id and client secret:
Read more in [this post](https://medium.com/@sandrinodm/securing-your-applications-with-aws-alb-built-in-authentication-and-auth0-310ad84c8595).
121
+
103
122
## Notes
104
123
105
124
1. AWS Route53 zone is not created by this module, so zone specified as a value in `route53_zone_name` should be created before using this module. Check documentation for [aws_route53_zone](https://www.terraform.io/docs/providers/aws/r/route53_zone.html).
@@ -130,6 +149,7 @@ No requirements.
130
149
| Name | Description | Type | Default | Required |
| acm\_certificate\_domain\_name | Route53 domain name to use for ACM certificate. Route53 zone for this domain should be created in advance. Specify if it is different from value in `route53_zone_name`|`string`|`""`| no |
152
+
| alb\_authenticate\_oidc | Map of Authenticate OIDC parameters to protect ALB (eg, using Auth0). See https://www.terraform.io/docs/providers/aws/r/lb_listener.html#authenticate-oidc-action|`any`|`{}`| no |
133
153
| alb\_ingress\_cidr\_blocks | List of IPv4 CIDR ranges to use on all ingress rules of the ALB. |`list(string)`| <pre>[<br> "0.0.0.0/0"<br>]</pre> | no |
134
154
| alb\_log\_bucket\_name | S3 bucket (externally created) for storing load balancer access logs. Required if alb\_logging\_enabled is true. |`string`|`""`| no |
135
155
| alb\_log\_location\_prefix | S3 prefix within the log\_bucket\_name under which logs are stored. |`string`|`""`| no |
description="Map of Authenticate OIDC parameters to protect ALB (eg, using Auth0). See https://www.terraform.io/docs/providers/aws/r/lb_listener.html#authenticate-oidc-action"
95
+
type=any
96
+
default={}
97
+
}
98
+
93
99
# ACM
94
100
variable"certificate_arn" {
95
101
description="ARN of certificate issued by AWS ACM. If empty, a new ACM certificate will be created and validated using Route53 DNS"
0 commit comments