File tree Expand file tree Collapse file tree 4 files changed +18
-0
lines changed
Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -923,6 +923,12 @@ This is due to some terraform limitation and we will update the module once terr
923923
924924 The template of the target URL used for the links; must be a valid URL and contain ` <num> ` for the reference number.
925925
926+ - [ ** ` is_alphanumeric ` ** ] ( #attr-autolink_references-is_alphanumeric ) : * (Optional ` bool ` )* <a name =" attr-autolink_references-is_alphanumeric " ></a >
927+
928+ Specify if your autolink reference is alphanumeric or numeric identifier.
929+
930+ Default is ` true ` .
931+
926932#### App Installations
927933
928934- [ ** ` app_installations ` ** ] ( #var-app_installations ) : * (Optional ` set(string) ` )* <a name =" var-app_installations " ></a >
Original file line number Diff line number Diff line change @@ -1207,6 +1207,15 @@ section {
12071207 The template of the target URL used for the links; must be a valid URL and contain `<num>` for the reference number.
12081208 END
12091209 }
1210+
1211+ attribute "is_alphanumeric" {
1212+ required = false
1213+ type = bool
1214+ default = true
1215+ description = <<- END
1216+ Specify if your autolink reference is alphanumeric or numeric identifier.
1217+ END
1218+ }
12101219 }
12111220 }
12121221
Original file line number Diff line number Diff line change @@ -551,6 +551,7 @@ resource "github_repository_autolink_reference" "repository_autolink_reference"
551551 repository = github_repository. repository . name
552552 key_prefix = each. value . key_prefix
553553 target_url_template = each. value . target_url_template
554+ is_alphanumeric = each. value . is_alphanumeric
554555}
555556
556557# ---------------------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -525,13 +525,15 @@ variable "autolink_references" {
525525 type = list (object ({
526526 key_prefix = string
527527 target_url_template = string
528+ is_alphanumeric = optional (bool )
528529 }))
529530
530531 # Example:
531532 # autolink_references = [
532533 # {
533534 # key_prefix = "TICKET-"
534535 # target_url_template = "https://hello.there/TICKET?query=<num>"
536+ # is_alphanumeric = true
535537 # }
536538 # ]
537539
You can’t perform that action at this time.
0 commit comments