Usage
module "oidc" {
source = "github.com/fencepencil/fencepencil-aws-modules//oidc"
trust_subjects = ["<value>"]
tags = var.tags
}Inputs (4)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
role_name | string | Name of the IAM role | GitHubActionsDeployRole | no |
trust_subjects | list(string) | GitHub OIDC subject claims to trust | — | yes |
policy_arns | list(string) | IAM policy ARNs to attach | ["...PowerUserAccess"] | no |
tags | map(string) | Tags to apply to all resources | {} | no |
Outputs (3)
| Name | Description |
|---|---|
oidc_provider_arn | ARN of the GitHub OIDC provider |
role_arn | ARN of the deploy role |
role_name | Name of the deploy role |