From 0f6ad9ef236af225d4759100810d66ff928961cb Mon Sep 17 00:00:00 2001 From: rpoluri <38321430+rpoluri@users.noreply.github.com> Date: Mon, 18 Oct 2021 08:14:07 -0500 Subject: [PATCH] disable k8s service account creation when running on ecs. (#89) Co-authored-by: Raj Poluri --- CHANGELOG.md | 4 ++++ k8s.tf | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21c4ce3..633b832 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [3.3.7] - 2021-010-18 +### Fixed +- Disable kubernetes serviceaccount creation when running on ecs. + ## [3.3.6] - 2021-010-18 ### Added - Support Waggledance `latency` parameter diff --git a/k8s.tf b/k8s.tf index 5d2fb64..8a491d0 100644 --- a/k8s.tf +++ b/k8s.tf @@ -12,6 +12,7 @@ locals { } resource "kubernetes_service_account" "waggle_dance" { + count = var.wd_instance_type == "k8s" ? 1 : 0 metadata { name = local.instance_alias namespace = var.k8s_namespace