Skip to content

Commit

Permalink
Fix order of roles in auth-map, update example (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru authored Jul 17, 2021
1 parent 51ccc3e commit d9a2945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion auth.tf
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ resource "kubernetes_config_map" "aws_auth" {
}

data = {
mapRoles = replace(yamlencode(distinct(concat(var.map_additional_iam_roles, local.map_worker_roles))), "\"", local.yaml_quote)
mapRoles = replace(yamlencode(distinct(concat(local.map_worker_roles, var.map_additional_iam_roles))), "\"", local.yaml_quote)
mapUsers = replace(yamlencode(var.map_additional_iam_users), "\"", local.yaml_quote)
mapAccounts = replace(yamlencode(var.map_additional_aws_accounts), "\"", local.yaml_quote)
}
Expand Down
2 changes: 1 addition & 1 deletion examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module "vpc" {

module "subnets" {
source = "cloudposse/dynamic-subnets/aws"
version = "0.38.0"
version = "0.39.3"

availability_zones = var.availability_zones
vpc_id = module.vpc.vpc_id
Expand Down

0 comments on commit d9a2945

Please sign in to comment.