Slackbot
06/25/2023, 4:14 AMTroy Knapp
06/25/2023, 1:33 PMaccounts = {
account1 = {
name = "account1"
roles = [
<map to rbac roles on the cluster>
]
}
account2...
account3...
}
Then create two modules. The first one, you loop through to create IAM stuff in AWS, the second creates manifests to apply to k8s (you can use Helm here as well if you want, TF plays well with that too).
Then anytime you add a new account you just modify the original data structure and run the TF code and everything gets provisioned.Anshul Garg
06/26/2023, 1:21 PMTroy Knapp
06/26/2023, 1:34 PMFrançois
06/26/2023, 1:56 PMHyrum Hilario
09/22/2023, 9:57 PMHyrum Hilario
11/01/2023, 11:47 PM