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" {
metadata {
name = "aws-cluster-autoscaler"
......@@ -43,7 +45,8 @@ resource "kubernetes_deployment" "aws_cluster_autoscaler_deployment" {
}
volume {
name = "autoscaler-ssl-volume"
name = "autoscaler-ssl-volume"
empty_dir = ["true"]
}
container {
......@@ -82,7 +85,7 @@ resource "kubernetes_deployment" "aws_cluster_autoscaler_deployment" {
env {
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