oauth2-terraform-config-generator-docker
jd4883/oauth2-terraform-config-generator-docker/docker
Terraform Module
HCL
DOCKER
Install
module "oauth2-terraform-config-generator-docker" {
source = "jd4883/oauth2-terraform-config-generator-docker/docker"
version = "1.1.1"
}
README
terraform-docker-oauth2-terraform-config-generator-docker Automates generation of a docker container to handle oauth2 forward auth via the "quay.io/oauth2-proxy/oauth2-proxy:latest" docker image and configures traefikv2 dns settings. This will likely be moved to another forward auth container in the future but for now this solution works pretty well for its intended use-case NOTE: this readme is a WIP and will be updated with useful how-to information at a later time
Inputs (27)
| Name | Type | Description | Default |
|---|---|---|---|
| STSSeconds | number | required | |
| upstream_url | string | required | |
| labels | string | required | |
| emails | list(string) | required | |
| envars | string | required | |
| cnames | list(string) | required | |
| name | string | required | |
| customResponseHeaders | string | required | |
| networks | list(string) | required | |
| okta | string | required | |
| organizr_cname | string | required | |
| domain | string | required | |
| skip_provider_button | string | true | |
| cookie_secure | string | true | |
| cookie_httponly | string | false | |
| okta_url | string | "oktapreview.com" | |
| network_frontend | string | "frontend" | |
| cookie_expire | string | 672 | |
| network_backend | string | "backend" | |
| cookie_name | string | "_oauth2_proxy" | |
| oidc_provider | string | "oidc" | |
| request_logging | string | false | |
| session_store_type | string | "cookie" | |
| scope | string | "openid email" | |
| cookie_refresh | string | 24 | |
| provider_name | string | "okta" | |
| verification | string | true |
Resources (3)
docker_containerdocker_imagenull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version1.1.1
Cloud DOCKER
Total downloads938
Inputs27
Resources3
Namespacejd4883
Updated