Skip to content

Latest commit

 

History

History
60 lines (49 loc) · 4.61 KB

TERRAFORM.md

File metadata and controls

60 lines (49 loc) · 4.61 KB

Requirements

Name Version
terraform >= 1.0.0
aws >= 4, < 6
tls >= 4, < 6

Providers

Name Version
aws 5.82.2
tls 4.0.6

Modules

No modules.

Resources

Name Type
aws_iam_openid_connect_provider.provider resource
aws_iam_role.role resource
aws_iam_role_policy_attachment.admin resource
aws_iam_role_policy_attachment.custom resource
aws_iam_role_policy_attachment.read_only resource
aws_iam_openid_connect_provider.provider data source
aws_iam_policy_document.assume_role data source
aws_partition.current data source
tls_certificate.provider data source

Inputs

Name Description Type Default Required
attach_admin_policy Attach AdministratorAccess policy bool false no
attach_read_only_policy Attach ReadOnly policy bool true no
create_oidc_provider Create GitLab OIDC provider bool true no
enabled Enable resource creation bool true no
force_detach_policies Force detach IAM policies bool false no
gitlab_organisation GitLab organisation name string n/a yes
gitlab_repositories List of GitLab repositories and refs
list(object({
name = string
refs = list(string)
ref_type = string
}))
[
{
"name": "",
"ref_type": "",
"refs": []
}
]
no
iam_role_name IAM role name string "gitlab-runner" no
iam_role_path IAM role path string "/" no
iam_role_permissions_boundary IAM role permissions boundary ARN string "" no
iam_role_policy_arns List of IAM policy ARNs list(string) [] no
max_session_duration Max session duration (seconds) number 3600 no
tags Resource tags map(string) {} no
url Identity provider URL string "gitlab.com" no

Outputs

Name Description
repositories A list of GitLab repositories and their references.
role_arn The ARN of the AWS IAM role.
role_id The ID of the AWS IAM role.
thumbprint Thumbprints of GitLab certificates.