terraform-aws-eks-blueprints
terraform-aws-eks-blueprints copied to clipboard
[FEATURE] Add-ons to provide IAM role arn and name as outputs and IAM roles have easy to find prefix
Is your feature request related to a problem? Please describe
Would be good if each add on provides the details for the IRSA IAM role as outputs as it is difficult to find the roles as they are terraform-<uid>
, perhaps a prefix would be good also so it is searchable in the UI
Describe the solution you'd like
As above
Describe alternatives you've considered
N/A
Additional context
N/A
This is available today https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/main/modules/irsa/outputs.tf
It also needs to be in the outputs for the other modules though doesn't it - https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/main/modules/kubernetes-addons/outputs.tf
apologies - this was not clear in the ticket with the lack of detail provided
There were several problems reported too:
- Outputs - need to be in https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/main/modules/kubernetes-addons/outputs.tf and potentially the addons themselves
- IRSA role naming - Improved with https://github.com/aws-ia/terraform-aws-eks-blueprints/pull/832. Though being able to change the role names is not exposed by the add-ons which would be useful
There were several problems reported too:
Where were these reported?
Here - https://github.com/aws-ia/terraform-aws-eks-blueprints/issues/816#issue-1322497000.
I was finding it difficult to find the IAM roles before as they were terraform-
you have roles named terraform-*
today?
Not with the latest versions as I've said here it is improved - https://github.com/aws-ia/terraform-aws-eks-blueprints/issues/816#issuecomment-1224225999. You cannot override the role name though via the addons
Hello @andrewhibbert this PR https://github.com/aws-ia/terraform-aws-eks-blueprints/pull/908 is supposed to let consumers override the role name of IRSA though via the addons once it is merged.
closed in #1136