iam-role

bryan-rhm/iam-role/aws

Terraform Module HCL AWS

Terraform module for IAM roles

Install
module "iam-role" {
source = "bryan-rhm/iam-role/aws"
version = "1.0.0"
}
plain text: /constructs/tfmod-bryan-rhm-iam-role-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform AWS IAM Role module Example Usage Example of aws iam role for ecs task. `` module "iam_task_role" { source = "github.com/bryan-rhm/terraform-aws-iam-role?ref=v1.0.0" name = "task-ecs-role" statement_id = "TaskExecution" trusted_identifier = { type = "Service" identifiers = ["ecs-tasks.amazonaws.com"] } managed_policy_arns = [module.iam_task_policy.output.arn] } ` Requirements | Name | Version | |------|---------| | terraform | >= 1.0.3 | | aws | >= 3.43.0 | Providers | Name | Version | |------|---------| | aws | >= 3.43.0 | Modules No modules. Resources | Name | Type | |------|------| | aws_iam_role.role | resource | | aws_iam_policy_document.aws_trust_policy | data source | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------

Inputs (6)
NameTypeDescriptionDefault
descriptionstringDescription for the IAM role"Created by terraform"
trusted_identifierobject({ type = strEntity allowed to assume the rolenull
managed_policy_arnslist(string)List of ARNs of IAM policies to attachnull
conditionslist(object({ condition = Assume Role Conditions[]
namestringName for the rolenull
statement_idstringIdentifier for a policy statement (Statement ID).null
Outputs (1)
output — IAM role attributes
Resources (1)
aws_iam_role
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars1
Forks1
Total downloads3.5k
Inputs6
Outputs1
Resources1
LicenseApache-2.0
Namespacebryan-rhm
Updated