Skip to content

Commit 546662b

Browse files
tobiasehlertgaima8
authored andcommitted
add support for is_alphanumeric in autolink_reference
1 parent 2e3e2b9 commit 546662b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ resource "github_repository_autolink_reference" "repository_autolink_reference"
613613
repository = github_repository.repository.name
614614
key_prefix = each.value.key_prefix
615615
target_url_template = each.value.target_url_template
616+
is_alphanumeric = each.value.is_alphanumeric
616617
}
617618

618619
# ---------------------------------------------------------------------------------------------------------------------

variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,13 +532,15 @@ variable "autolink_references" {
532532
type = list(object({
533533
key_prefix = string
534534
target_url_template = string
535+
is_alphanumeric = optional(bool)
535536
}))
536537

537538
# Example:
538539
# autolink_references = [
539540
# {
540541
# key_prefix = "TICKET-"
541542
# target_url_template = "https://hello.there/TICKET?query=<num>"
543+
# is_alphanumeric = true
542544
# }
543545
# ]
544546

0 commit comments

Comments
 (0)