Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 2.03 KB

File metadata and controls

57 lines (40 loc) · 2.03 KB

Individual IAM assumable role with SAML Identity Provider example

Configuration in this directory creates a single IAM role which can be assumed by users with a SAML Identity Provider.

Usage

To run this example you need to execute:

$ terraform init
$ terraform plan
$ terraform apply

Run terraform destroy when you don't need these resources.

Requirements

Name Version
terraform >= 1.0
aws >= 4.0

Providers

Name Version
aws >= 4.0

Modules

Name Source Version
iam_assumable_role_admin ../../modules/iam-assumable-role-with-saml n/a
iam_assumable_role_self_assume ../../modules/iam-assumable-role-with-saml n/a

Resources

Name Type
aws_iam_saml_provider.idp_saml resource
aws_iam_saml_provider.second_idp_saml resource

Inputs

No inputs.

Outputs

Name Description
iam_role_arn ARN of IAM role
iam_role_name Name of IAM role
iam_role_path Path of IAM role
iam_role_unique_id Unique ID of IAM role