All Modules
AWSIdentity

OIDC

GitHub OIDC provider and IAM role for GitHub Actions deployments

Usage

module "oidc" {
  source = "github.com/fencepencil/fencepencil-aws-modules//oidc"

  trust_subjects = ["<value>"]

  tags = var.tags
}

Inputs (4)

NameTypeDescriptionDefaultRequired
role_namestringName of the IAM roleGitHubActionsDeployRoleno
trust_subjectslist(string)GitHub OIDC subject claims to trustyes
policy_arnslist(string)IAM policy ARNs to attach["...PowerUserAccess"]no
tagsmap(string)Tags to apply to all resources{}no

Outputs (3)

NameDescription
oidc_provider_arnARN of the GitHub OIDC provider
role_arnARN of the deploy role
role_nameName of the deploy role

More AWS Modules

Browse our full library of AWS infrastructure modules.

View all AWS modules