Skip to content

Commit

Permalink
chore: terraform fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiFleKs committed Sep 18, 2019
1 parent ab54762 commit 018e06d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion terraform/modules/eks-namespaces/quotas.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resource "kubernetes_resource_quota" "namespace_quota" {
}

spec {
hard = {
hard = {
"requests.cpu" = var.namespaces[count.index]["requests.cpu"]
"requests.memory" = var.namespaces[count.index]["requests.memory"]
"requests.nvidia.com/gpu" = var.namespaces[count.index]["requests.nvidia.com/gpu"]
Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/eks/bastion.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ resource "aws_autoscaling_group" "bastion" {
},
],
[
for k,v in var.custom_tags: {"key" = k, "value" = v, "propagate_at_launch" = true}
for k, v in var.custom_tags : { "key" = k, "value" = v, "propagate_at_launch" = true }
],
[
for k,v in local.common_tags: {"key" = k, "value" = v, "propagate_at_launch" = true}
for k, v in local.common_tags : { "key" = k, "value" = v, "propagate_at_launch" = true }
]
)

Expand Down
4 changes: 2 additions & 2 deletions terraform/modules/eks/eks-worker-nodes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ resource "aws_autoscaling_group" "eks" {
],
var.node-pools[count.index]["tags"],
[
for k,v in var.custom_tags: {"key" = k, "value" = v, "propagate_at_launch" = true}
for k, v in var.custom_tags : { "key" = k, "value" = v, "propagate_at_launch" = true }
],
[
for k,v in local.common_tags: {"key" = k, "value" = v, "propagate_at_launch" = true}
for k, v in local.common_tags : { "key" = k, "value" = v, "propagate_at_launch" = true }
]
)

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/eks/locals.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
common_tags = {}
common_tags = {}
}

0 comments on commit 018e06d

Please sign in to comment.