Skip to content

[aws-eks-iam] aws-iam-.. modules refactoring #137

@mglotov

Description

@mglotov

Current Behavior

There are a lot of terraform modules to create aws-iam roles used for eks workloads.

terraform/modules/aws-iam-autoscaler                                 
terraform/modules/aws-iam-roles
terraform/modules/aws-iam-aws-loadbalancer-controller 
terraform/modules/aws-iam-external-dns                
terraform/modules/aws-iam-s3
terraform/modules/aws-iam-ci                          
terraform/modules/aws-iam-grafana                     
terraform/modules/aws-iam-ssm

They differ only in an iam policy. Also, this breaks the concept of using Terraform modules (Terraform module is a reusable piece of code).

Expected Behavior

It'd be better to have one aws-iam module aws-iam-eks-trusted and set policy as an input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions