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
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
Move bool/v0 para schemaProcessor
daltonmatos committed Oct 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit db6705b7913f65c7353eef7c86575bafe0941901
5 changes: 3 additions & 2 deletions CustomResourceDefinition/v1alpha1/array/main.tf
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion CustomResourceDefinition/v1alpha1/object/main.tf
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion CustomResourceDefinition/v1alpha1/reduced_array/main.tf
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion CustomResourceDefinition/v1alpha1/reduced_object/main.tf
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion CustomResourceDefinition/v1alpha1/root_object/main.tf
Original file line number Diff line number Diff line change
@@ -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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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 {
@@ -25,7 +25,7 @@ run "missing_value" {
run "with_invalid_value" {
command = plan
module {
source = "./schemaValidation/bool/v0/"
source = "./schemaProcessor/bool/v0/validator/"
}

variables {
@@ -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 {