Skip to content

Commit

Permalink
feat: Add support for aws-blueprints organization
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Dec 5, 2022
1 parent 919c355 commit 1718a3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.76.0
rev: v1.77.0
hooks:
- id: terraform_fmt
- id: terraform_validate
Expand All @@ -23,7 +23,7 @@ repos:
- '--args=--only=terraform_standard_module_structure'
- '--args=--only=terraform_workspace_remote'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-merge-conflict
- id: end-of-file-fixer
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ variable "repository" {
type = string

validation {
condition = can(regex("^https:\\/\\/github\\.com\\/(clowdhaus)|(serverless-delivery)", var.repository))
error_message = "The repository should be in the clowdhaus or serverless-delivery organization."
condition = can(regex("^https:\\/\\/github\\.com\\/(clowdhaus)|(serverless-delivery|aws-blueprints)", var.repository))
error_message = "The repository should be in the clowdhaus, serverless-delivery, or aws-blueprints organization."
}
}

0 comments on commit 1718a3f

Please sign in to comment.