diff --git a/CHANGELOG.md b/CHANGELOG.md index 633b832..2262d8c 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.8] - 2021-010-18 +### Fixed +- Fix kubernetes serviceaccount reference. + ## [3.3.7] - 2021-010-18 ### Fixed - Disable kubernetes serviceaccount creation when running on ecs. diff --git a/k8s.tf b/k8s.tf index 8a491d0..df2b84a 100644 --- a/k8s.tf +++ b/k8s.tf @@ -51,7 +51,7 @@ resource "kubernetes_deployment" "waggle_dance" { } spec { - service_account_name = kubernetes_service_account.waggle_dance.metadata.0.name + service_account_name = kubernetes_service_account.waggle_dance[0].metadata.0.name container { image = "${var.docker_image}:${var.docker_version}" name = local.instance_alias