Commit 06e47b19 authored by Danny's avatar Danny

add boolean empty directory value

parent 13ba6413
data "aws_region" "current" {}
resource "kubernetes_deployment" "aws_cluster_autoscaler_deployment" { resource "kubernetes_deployment" "aws_cluster_autoscaler_deployment" {
metadata { metadata {
name = "aws-cluster-autoscaler" name = "aws-cluster-autoscaler"
...@@ -43,7 +45,8 @@ resource "kubernetes_deployment" "aws_cluster_autoscaler_deployment" { ...@@ -43,7 +45,8 @@ resource "kubernetes_deployment" "aws_cluster_autoscaler_deployment" {
} }
volume { volume {
name = "autoscaler-ssl-volume" name = "autoscaler-ssl-volume"
empty_dir = ["true"]
} }
container { container {
...@@ -82,7 +85,7 @@ resource "kubernetes_deployment" "aws_cluster_autoscaler_deployment" { ...@@ -82,7 +85,7 @@ resource "kubernetes_deployment" "aws_cluster_autoscaler_deployment" {
env { env {
name = "AWS_REGION" name = "AWS_REGION"
value = "us-east-1" value = "${data.aws_region.current.name}"
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment