Configuration in this directory creates an IAM role that can be assumed by multiple EKS ServiceAccount
.
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
Run terraform destroy
when you don't need these resources.
Name | Version |
---|---|
terraform | >= 1.0 |
aws | >= 4.0 |
random | >= 2.0 |
Name | Version |
---|---|
aws | >= 4.0 |
random | >= 2.0 |
Name | Source | Version |
---|---|---|
eks | terraform-aws-modules/eks/aws | ~> 18.0 |
iam_eks_role | ../../modules/iam-eks-role | n/a |
iam_eks_role_with_self_assume | ../../modules/iam-eks-role | n/a |
Name | Type |
---|---|
random_pet.this | resource |
aws_subnets.all | data source |
aws_vpc.default | data source |
No inputs.
Name | Description |
---|---|
iam_role_arn | ARN of IAM role |
iam_role_name | Name of IAM role |
iam_role_path | Path of IAM role |
iam_role_unique_id | Unique ID of IAM role |