Skip to content

Latest commit

 

History

History

iam-group

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

iam-group

This module creates following resources.

  • aws_iam_group
  • aws_iam_group_policy (optional)
  • aws_iam_group_policy_attachment (optional)

Requirements

Name Version
terraform >= 1.5
aws >= 3.45

Providers

Name Version
aws 5.19.0

Modules

No modules.

Resources

Name Type
aws_iam_group.this resource
aws_iam_group_policy.assume_role resource
aws_iam_group_policy.inline resource
aws_iam_group_policy_attachment.managed resource
aws_iam_policy_document.assume_role data source

Inputs

Name Description Type Default Required
name Desired name for the IAM group. string n/a yes
assumable_roles List of IAM roles ARNs which can be assumed by the group. list(string) [] no
inline_policies Map of inline IAM policies to attach to IAM group. (name => policy). map(string) {} no
path Desired path for the IAM group. string "/" no
policies List of IAM policies ARNs to attach to IAM group. list(string) [] no

Outputs

Name Description
arn The ARN assigned by AWS for this group.
assumable_roles List of ARNs of IAM roles which members of IAM group can assume.
inline_policies List of names of inline IAM polices which are attached to IAM group.
name IAM group name.
policies List of ARNs of IAM policies which are atached to IAM group.
unique_id The unique ID assigned by AWS.