This is a Dynamic module in Terraform to create IAM resources. This module will be called from ../env/dev.tf
modules file. This module creates roles, policies.
- main.tf : contains all the resources, which will be created with
terraform apply
command. - variables.tf : contains all the variables required to create the resources.
- outputs.tf : print output attributes of the resources.
No requirements.
Name | Version |
---|---|
aws | n/a |
No modules.
Name | Description | Type | Default | Required |
---|---|---|---|---|
environment | Name of the environment where infrastructure is being built. | string |
n/a | yes |
name | Name is the prefix to use for resources that needs to be created. | string |
n/a | yes |
region | The AWS region where terraform builds resources. | string |
"us-east-1" |
no |
tags | Common tags to attach all the resources create in this project. | map(string) |
n/a | yes |
Name | Description |
---|---|
iam_instance_profile | IAM instance profile for the EKS worker nodes. |
role_arn | IAM role for EKS service. |
worker_role_arn | IAM role for EKS worker nodes. |