Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

The `iam-connector` module provisions an IAM role that the AWS IAM Strategy can use to escalate or de-escalate users via AWS IAM groups.

License

Notifications You must be signed in to change notification settings

symopsio/terraform-aws-iam-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iam-connector

The iam-connector module provisions an IAM role that the AWS IAM Strategy can use to escalate or de-escalate users via AWS IAM groups.

This Connector will provision a single IAM role for the Sym Runtime to use with a Strategy.

Only the supplied runtime_role_arns are trusted to assume this role.

module "iam_connector" {
  source  = "symopsio/iam-connector/aws"
  version = ">= 1.0.0"

  environment = "sandbox"
  runtime_role_arns = [ var.runtime_role_arn ]
}

By default, the IAM connector can only modify groups that are within the /sym/ path. You can can configure the connector to access other groups by changing the group-config setting:

  group_config = [
    { path="/", name="EscalationGroups*" },
    { path="/other-path/", name="BreakGlass*" }
  ]

Requirements

Name Version
terraform >= 0.13.7
aws >= 3.0

Providers

Name Version
aws >= 3.0

Modules

No modules.

Resources

Name Type
aws_iam_policy.iam resource
aws_iam_role.this resource
aws_iam_role_policy_attachment.iam resource
aws_caller_identity.current data source
aws_region.current data source

Inputs

Name Description Type Default Required
environment An environment qualifier for the resources this module creates, to support a Terraform SDLC. string n/a yes
group_config List of group resources the connector can modify. Each group resource is an object that contains a path and a name property. Both the path and name can contain wildcards.
list(object(
{ path = string, name = string }
))
[
{
"name": "*",
"path": "/sym/"
}
]
no
runtime_role_arns ARNs of the runtime connector roles that are trusted to assume the IAM role. list(string) n/a yes
tags Additional tags to apply to resources map(string) {} no

Outputs

Name Description
settings A map of settings to supply to a Sym Permission Context.

About

The `iam-connector` module provisions an IAM role that the AWS IAM Strategy can use to escalate or de-escalate users via AWS IAM groups.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages