Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 837 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 837 Bytes

AWS IAM Role readonly

This will create a readonly role, assumeable from source_account_id.

Example

module "role" {
  source = "github.com/chanzuckerberg/cztack/aws-iam-role-readonly?ref=v0.14.0"

  # defaults to 'readonly'
  role_name = "..."

  # The ID of the other AWS account that can assume this role.
  source_account_id = "..."
}

output "role_name" {
  value = "${module.role.role_name}"
}

Inputs

Name Description Type Default Required
iam_path string "/" no
role_name string "readonly" no
source_account_id The AWS account from which this role should be assumeable. string n/a yes

Outputs

Name Description
arn
role_name