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

cleanups #37

Merged
merged 6 commits into from
Apr 23, 2024
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ website/node_modules
.idea
*.iml
*.test
*.iml

website/vendor

Expand Down
4 changes: 2 additions & 2 deletions docs/functions/false.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ run "check_rds_global_cluster_deletion_protection" {

assert {
condition = provider::assert::false(aws_rds_global_cluster.example.deletion_protection)
error_message = "Cluster deletion protection must false, this is a dev environment"
error_message = "Cluster deletion protection must be false, this is a dev environment"
}
}
```
Expand All @@ -30,7 +30,7 @@ variable "rds_global_cluster_deletion_protection" {
type = bool
validation {
condition = provider::assert::false(var.rds_global_cluster_deletion_protection)
error_message = "Cluster deletion protection must false, this is a dev environment"
error_message = "Cluster deletion protection must be false, this is a dev environment"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/functions/greater_or_equal.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ run "check_aws_db_instance_size" {
command = plan

assert {
condition = provider::assert::greater_or_eqal(aws_db_instance.example.instance_class, 100)
condition = provider::assert::greater_or_equal(aws_db_instance.example.instance_class, 100)
error_message = "DB instance size must be greater than or equal to 100"
}
}
Expand All @@ -29,7 +29,7 @@ run "check_aws_db_instance_size" {
variable "db_instance_size" {
type = number
validation {
condition = provider::assert::greater_or_eqal(var.db_instance_size, 100)
condition = provider::assert::greater_or_equal(var.db_instance_size, 100)
error_message = "DB instance size must be greater than or equal to 100"
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/functions/false/function.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ run "check_rds_global_cluster_deletion_protection" {

assert {
condition = provider::assert::false(aws_rds_global_cluster.example.deletion_protection)
error_message = "Cluster deletion protection must false, this is a dev environment"
error_message = "Cluster deletion protection must be false, this is a dev environment"
}
}
2 changes: 1 addition & 1 deletion examples/functions/false/variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ variable "rds_global_cluster_deletion_protection" {
type = bool
validation {
condition = provider::assert::false(var.rds_global_cluster_deletion_protection)
error_message = "Cluster deletion protection must false, this is a dev environment"
error_message = "Cluster deletion protection must be false, this is a dev environment"
}
}
2 changes: 1 addition & 1 deletion examples/functions/greater_or_equal/function.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ run "check_aws_db_instance_size" {
command = plan

assert {
condition = provider::assert::greater_or_eqal(aws_db_instance.example.instance_class, 100)
condition = provider::assert::greater_or_equal(aws_db_instance.example.instance_class, 100)
error_message = "DB instance size must be greater than or equal to 100"
}
}
2 changes: 1 addition & 1 deletion examples/functions/greater_or_equal/variable.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variable "db_instance_size" {
type = number
validation {
condition = provider::assert::greater_or_eqal(var.db_instance_size, 100)
condition = provider::assert::greater_or_equal(var.db_instance_size, 100)
error_message = "DB instance size must be greater than or equal to 100"
}
}
Loading