Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/module-test-harness.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Module Test Harness

on:
pull_request:
branches: [master]

permissions:
contents: read

jobs:
basic-example:
uses: clouddrove/github-shared-workflows/.github/workflows/stf-checks.yml@bd958ead76ac7c72acf4976c244c47eef89c84f7
with:
provider: digitalocean
working_directory: ./_examples/basic/

complete-example:
uses: clouddrove/github-shared-workflows/.github/workflows/stf-checks.yml@bd958ead76ac7c72acf4976c244c47eef89c84f7
with:
provider: digitalocean
working_directory: ./_examples/complete/
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ variable "ttl" {
type = number
default = 3600
description = "The time to live for the CDN Endpoint, in seconds. Default is 3600 seconds."

validation {
condition = var.ttl >= 60 && var.ttl <= 604800
error_message = "ttl must be between 60 and 604800 seconds."
}
}

variable "certificate_name" {
Expand Down
Loading