Skip to content

Commit b82cc52

Browse files
docs: Fixed a couple of typos in the docs iam-eks-role module (#180)
1 parent e2cd87f commit b82cc52

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/iam-eks-role/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module "iam_eks_role" {
2323
"<namespace>:<another ServiceAccount name>"
2424
]
2525
}
26+
}
2627
```
2728

2829
For example, to create an IAM role named `my-app` that can be assumed from the `ServiceAccount` named `my-app-staging` in the namespace `default` and `canary` in EKS cluster named `cluster-main-1`; and also the `ServiceAccount` name `my-app-staging` in the namespace `default` in EKS cluster named `cluster-backup-1`, the configuration would be:
@@ -36,11 +37,12 @@ module "iam_eks_role" {
3637
"cluster-main-1" = [
3738
"default:my-app-staging",
3839
"canary:my-app-staging"
39-
]
40+
],
4041
"cluster-backup-1" = [
4142
"default:my-app-staging",
4243
]
4344
}
45+
}
4446
```
4547

4648
Note: the EKS clusters must in the current AWS region and account as they use the default AWS provider.

0 commit comments

Comments
 (0)