Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tlkamp/terraform-provider-validation
Extended validation for Terraform in the form of a custom provider.
https://github.com/tlkamp/terraform-provider-validation
hacktoberfest
Last synced: 11 days ago
JSON representation
Extended validation for Terraform in the form of a custom provider.
- Host: GitHub
- URL: https://github.com/tlkamp/terraform-provider-validation
- Owner: tlkamp
- License: mpl-2.0
- Created: 2022-07-09T15:15:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-10T17:27:13.000Z (3 months ago)
- Last Synced: 2024-08-11T15:51:00.467Z (3 months ago)
- Topics: hacktoberfest
- Language: Go
- Homepage:
- Size: 63.5 KB
- Stars: 37
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Validation Provider
Perform extended validation on Terraform configurations, at either `plan` or `apply` time.This aims to address a core limitation of Terraform: validating multiple variables in the same context.
## Usage
This provider requires no configuration.### Provider
```hcl
provider "validation" {}
```### Resources
#### `validation_error`
The `validation_error` resource can be used to evaluate values only known at apply time, and stop an
in-progress Terraform execution based upon their values.```hcl
variable "one" {}
variable "two" {}resource "validation_error" "error" {
condition = var.one == var.two
summary = "var.one and var.two must never be equal"
details = <