forked from notablehealth/terraform-aws-terrateam-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
32 lines (27 loc) · 826 Bytes
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
variable "create_oidc_provider" {
description = "Whether to create the Github OIDC Provider resource"
type = bool
default = true
}
variable "github_org" {
description = "The GitHub organization for which the OIDC provider is set up"
type = string
validation {
condition = var.github_org != "GITHUB_ORG"
error_message = "The GitHub organization must not be 'GITHUB_ORG'."
}
}
variable "repositories" {
description = "Restrict to one or more repositories"
type = list(string)
}
variable "aws_policy_arn" {
description = "The Policy ARN to attach to the IAM role"
type = string
default = "arn:aws:iam::aws:policy/PowerUserAccess"
}
variable "aws_iam_role_name" {
description = "The IAM role name"
type = string
default = "terrateam"
}