From 938dd26f3d193af96d0ae66c4cf4cceccb00bf41 Mon Sep 17 00:00:00 2001 From: Andriy Knysh Date: Fri, 26 Apr 2019 09:46:28 -0400 Subject: [PATCH] Bump `terraform-aws-ecs-web-app` version (#5) --- README.md | 2 +- docs/terraform.md | 2 +- main.tf | 6 +++--- variables.tf | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 57a4d9a..ea2eeb2 100644 --- a/README.md +++ b/README.md @@ -213,7 +213,7 @@ Available targets: | authentication_oidc_issuer | OIDC Issuer | string | `` | no | | authentication_oidc_token_endpoint | OIDC Token Endpoint | string | `` | no | | authentication_oidc_user_info_endpoint | OIDC User Info Endpoint | string | `` | no | -| authentication_type | Authentication type. Supported values are `COGNITO`, `OIDC`, `NONE` | string | `NONE` | no | +| authentication_type | Authentication type. Supported values are `COGNITO` and `OIDC` | string | `` | no | | autoscaling_max_capacity | Atlantis maximum tasks to run | string | `1` | no | | autoscaling_min_capacity | Atlantis minimum tasks to run | string | `1` | no | | branch | Atlantis branch of the GitHub repository, _e.g._ `master` | string | `master` | no | diff --git a/docs/terraform.md b/docs/terraform.md index 9d86717..98b3eb7 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -39,7 +39,7 @@ | authentication_oidc_issuer | OIDC Issuer | string | `` | no | | authentication_oidc_token_endpoint | OIDC Token Endpoint | string | `` | no | | authentication_oidc_user_info_endpoint | OIDC User Info Endpoint | string | `` | no | -| authentication_type | Authentication type. Supported values are `COGNITO`, `OIDC`, `NONE` | string | `NONE` | no | +| authentication_type | Authentication type. Supported values are `COGNITO` and `OIDC` | string | `` | no | | autoscaling_max_capacity | Atlantis maximum tasks to run | string | `1` | no | | autoscaling_min_capacity | Atlantis minimum tasks to run | string | `1` | no | | branch | Atlantis branch of the GitHub repository, _e.g._ `master` | string | `master` | no | diff --git a/main.tf b/main.tf index e552a5a..ce07063 100644 --- a/main.tf +++ b/main.tf @@ -7,12 +7,12 @@ terraform { # Data #-------------------------------------------------------------- data "aws_ssm_parameter" "atlantis_gh_token" { - count = "${local.enabled && length(var.github_oauth_token) > 0 ? 0 : 1}" + count = "${local.enabled && length(var.github_oauth_token) == 0 ? 1 : 0}" name = "${local.github_oauth_token_ssm_name}" } data "aws_kms_key" "chamber_kms_key" { - count = "${local.enabled && length(var.kms_key_id) > 0 ? 0 : 1}" + count = "${local.enabled && length(var.kms_key_id) == 0 ? 1 : 0}" key_id = "${local.kms_key_id}" } @@ -56,7 +56,7 @@ module "webhooks" { } module "web_app" { - source = "git::https://github.com/cloudposse/terraform-aws-ecs-web-app.git?ref=tags/0.17.0" + source = "git::https://github.com/cloudposse/terraform-aws-ecs-web-app.git?ref=tags/0.18.0" namespace = "${var.namespace}" stage = "${var.stage}" name = "${var.name}" diff --git a/variables.tf b/variables.tf index 89342ca..235aa98 100644 --- a/variables.tf +++ b/variables.tf @@ -380,8 +380,8 @@ variable "alb_ingress_authenticated_listener_arns_count" { variable "authentication_type" { type = "string" - default = "NONE" - description = "Authentication type. Supported values are `COGNITO`, `OIDC`, `NONE`" + default = "" + description = "Authentication type. Supported values are `COGNITO` and `OIDC`" } variable "authentication_cognito_user_pool_arn" {