Skip to content

Commit

Permalink
feat: allow random string length to be configurable (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
virgofx authored Oct 15, 2024
1 parent ac2c4c9 commit be9d11c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/terraform-module-releaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Terraform Module Releaser
on:
pull_request:
types: [opened, edited, synchronize, closed] # Closed required
types: [opened, reopened, synchronize, closed] # Closed required
branches:
- main

Expand All @@ -17,4 +17,4 @@ jobs:
uses: actions/checkout@v4

- name: Terraform Module Releaser
uses: techpivot/terraform-module-releaser@v1
uses: techpivot/terraform-module-releaser@v1.1.0
2 changes: 1 addition & 1 deletion null/random/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "random_string" "random" {
length = 16
length = var.length
special = true
override_special = "/@£$"
}
5 changes: 5 additions & 0 deletions null/random/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
variable "length" {
description = "The length of the string"
type = string
default = 16
}

0 comments on commit be9d11c

Please sign in to comment.