Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #601 from alphagov/various-fixes
Browse files Browse the repository at this point in the history
Various fixes following issues in Sandbox
  • Loading branch information
philandstuff authored Oct 4, 2019
2 parents 17b000c + 3e76e6e commit 4e2c89c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
23 changes: 11 additions & 12 deletions modules/k8s-cluster/security.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ resource "aws_security_group" "controller" {

vpc_id = "${var.vpc_id}"

tags = {
"Name" = "${var.cluster_name}-controller"
"kubernetes.io/cluster/${var.cluster_name}" = "owned"
}
tags = "${map(
"Name", "${var.cluster_name}-controller",
"kubernetes.io/cluster/${var.cluster_name}", "owned",
)}"
}

resource "aws_security_group_rule" "controller-apiserver-cidrs" {
Expand Down Expand Up @@ -82,10 +82,10 @@ resource "aws_security_group" "node" {

vpc_id = "${var.vpc_id}"

tags = {
"Name" = "${var.cluster_name}-node"
"kubernetes.io/cluster/${var.cluster_name}" = "owned"
}
tags = "${map(
"Name", "${var.cluster_name}-node",
"kubernetes.io/cluster/${var.cluster_name}", "owned",
)}"
}

resource "aws_security_group_rule" "node-egress" {
Expand Down Expand Up @@ -126,10 +126,9 @@ resource "aws_security_group" "worker" {

vpc_id = "${var.vpc_id}"

tags = {
"Name" = "${var.cluster_name}-worker"
"kubernetes.io/cluster/${var.cluster_name}" = "owned"
}
tags = "${map(
"Name", "${var.cluster_name}-worker",
)}"
}

resource "aws_security_group_rule" "workers-from-public" {
Expand Down
1 change: 0 additions & 1 deletion pipelines/tasks/generate-trusted-contributors.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
platform: linux
image_resource:
image_resource:
type: docker-image
source:
Expand Down

0 comments on commit 4e2c89c

Please sign in to comment.