Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3/7] SchemaProcessor: bool/v0 #28

Merged
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
5 changes: 3 additions & 2 deletions CustomResourceDefinition/v1alpha1/array/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ module "integer" {
}

module "bool" {
source = "../bool"
count = try(var.manifest.items.type == "bool", false) ? 1 : 0
source = "../../../schemaProcessor/bool/v0/processor"

count = try(var.manifest.items.type == "bool", false) ? 1 : 0

metadata_name = var.metadata_name
path = var.path
Expand Down
2 changes: 1 addition & 1 deletion CustomResourceDefinition/v1alpha1/object/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module "integer" {
}

module "bool" {
source = "../bool"
source = "../../../schemaProcessor/bool/v0/processor"
for_each = toset([for key, value in local.properties : key if try(value.type, null) == "bool"])

metadata_name = var.metadata_name
Expand Down
2 changes: 1 addition & 1 deletion CustomResourceDefinition/v1alpha1/reduced_array/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module "integer" {
}

module "bool" {
source = "../bool"
source = "../../../schemaProcessor/bool/v0/processor"
count = try(var.manifest.items.type == "bool", false) ? 1 : 0

metadata_name = var.metadata_name
Expand Down
2 changes: 1 addition & 1 deletion CustomResourceDefinition/v1alpha1/reduced_object/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module "integer" {
}

module "bool" {
source = "../bool"
source = "../../../schemaProcessor/bool/v0/processor"
for_each = toset([for key, value in local.properties : key if try(value.type, null) == "bool"])

metadata_name = var.metadata_name
Expand Down
2 changes: 1 addition & 1 deletion CustomResourceDefinition/v1alpha1/root_object/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module "integer" {
}

module "bool" {
source = "../bool"
source = "../../../schemaProcessor/bool/v0/processor"
for_each = toset([for key, value in local.properties : key if try(value.type, null) == "bool"])

metadata_name = var.metadata_name
Expand Down
2 changes: 1 addition & 1 deletion schemaValidation/bool/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "v0" {
source = "./v0"
source = "../../schemaProcessor/bool/v0/validator/"
count = var.schema.version == "v0" ? 1 : 0

metadata_name = var.metadata_name
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
run "missing_value" {
command = plan
module {
source = "./schemaValidation/bool/v0/"
source = "./schemaProcessor/bool/v0/validator/"
}

variables {
Expand All @@ -25,7 +25,7 @@ run "missing_value" {
run "with_invalid_value" {
command = plan
module {
source = "./schemaValidation/bool/v0/"
source = "./schemaProcessor/bool/v0/validator/"
}

variables {
Expand All @@ -49,7 +49,7 @@ run "with_invalid_value" {
run "with_valid_value" {
command = plan
module {
source = "./schemaValidation/bool/v0/"
source = "./schemaProcessor/bool/v0/validator/"
}

variables {
Expand Down