Configuration in this directory creates a single IAM role which can be assumed by users with a SAML Identity Provider.
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
Run terraform destroy
when you don't need these resources.
Name | Version |
---|---|
terraform | >= 1.0 |
aws | >= 4.0 |
Name | Version |
---|---|
aws | >= 4.0 |
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 |
Name | Type |
---|---|
aws_iam_saml_provider.idp_saml | resource |
aws_iam_saml_provider.second_idp_saml | resource |
No inputs.
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 |