Skip to content

Commit

Permalink
Merge pull request #5120 from ameukam/aws-account-prow-canary
Browse files Browse the repository at this point in the history
AWS: add an account for a canary build cluster
  • Loading branch information
k8s-ci-robot authored Apr 13, 2023
2 parents a9d1519 + d795080 commit e40da72
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ module "aws-playground-01" {
parent_id = aws_organizations_organizational_unit.non_production.id
tags = {
"production" = "false",
"owners" = "upodroid"
"owners" = "upodroid",
"group" = "sig-k8s-infra"
}
}
}

# account used to create and main a canary cluster as build cluster for prow
module "prow_canary" {
source = "../modules/org-account"

account_name = "k8s-infra-prow-canary"
email = "[email protected]"
parent_id = aws_organizations_organizational_unit.non_production.id
tags = {
"production" = "false",
"environment" = "canary",
"owners" = "xmudrii",
"group" = "sig-k8s-infra",
"service" = "eks"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ limitations under the License.
module "artifacts-k8s-io" {
source = "../modules/org-account"

account_name = "k8s-infra-artifacts-k8s-io-prod"
email = "[email protected]"
parent_id = aws_organizations_organizational_unit.production.id
account_name = "k8s-infra-artifacts-k8s-io-prod"
email = "[email protected]"
parent_id = aws_organizations_organizational_unit.production.id
}

module "registry-k8s-io" {
Expand All @@ -30,3 +30,18 @@ module "registry-k8s-io" {
iam_user_access_to_billing = "ALLOW"
parent_id = aws_organizations_organizational_unit.production.id
}


module "prow_prod" {
source = "../modules/org-account"

account_name = "k8s-infra-prow"
email = "[email protected]"
parent_id = aws_organizations_organizational_unit.production.id
tags = {
"production" = "true",
"environment" = "prod",
"group" = "sig-k8s-infra",
"service" = "eks"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

module "organization_tag_policy_group" {
source = "../modules/tag-policy"
source = "../modules/tag-policy"

tag_name = "group"
# Values from https://github.com/kubernetes/community/blob/master/sig-list.md
Expand Down Expand Up @@ -64,7 +64,7 @@ module "organization_tag_policy_group" {
}

module "organization_tag_policy_environment" {
source = "../modules/tag-policy"
source = "../modules/tag-policy"

tag_name = "environment"
tag_values = [
Expand Down

0 comments on commit e40da72

Please sign in to comment.