Skip to content

This module sets up IAM Roles and Identity Provider for various VCS(Version Control Systems) providers.

License

Notifications You must be signed in to change notification settings

DNXLabs/terraform-aws-vcs-oidc

Repository files navigation

terraform-aws-vcs-oidc

Lint Status LICENSE

This module sets up IAM Roles and Identity Provider for various VCS(Version Control Systems) providers.

Supported providers:

  • Bitbucket
  • GitHub

The following resources will be created:

  • IAM Role.
  • IAM Policy attachment.
  • IAM Identity Provider Web Identity.

Usage

Requirements

Name Version
terraform >= 0.13.0

Providers

Name Version
aws n/a
tls n/a

Inputs

Name Description Type Default Required
audiences Also known as client ID, audience is a value that identifies the application that is registered with an OpenID Connect provider. list(string) n/a yes
identity_provider_url Specify the secure OpenID Connect URL for authentication requests. string n/a yes
oidc_thumbprint Thumbprint of OIDC host. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_oidc_verify-thumbprint.html string "" no
roles List of roles to create. list(any) [] no

Outputs

Name Description
identity_provider_arn n/a
roles n/a

Authors

Module managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.