Skip to content
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
36 changes: 0 additions & 36 deletions terraform/cos-lite/tests/channel_validation.tftest.hcl

This file was deleted.

6 changes: 0 additions & 6 deletions terraform/cos-lite/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ variable "channel" {
description = "Channel that the applications are (unless overwritten by individual channels) deployed from"
type = string
default = "dev/edge"

validation {
# the TF Juju provider correctly identifies invalid risks; no need to validate it
condition = startswith(var.channel, "dev/")
error_message = "The track of the channel must be 'dev/'. e.g. 'dev/edge'."
}
}

variable "model_uuid" {
Expand Down
41 changes: 0 additions & 41 deletions terraform/cos/tests/channel_validation.tftest.hcl

This file was deleted.

6 changes: 0 additions & 6 deletions terraform/cos/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ variable "channel" {
description = "Channel that the applications are (unless overwritten by individual channels) deployed from"
type = string
default = "dev/edge"

validation {
# the TF Juju provider correctly identifies invalid risks; no need to validate it
condition = startswith(var.channel, "dev/")
error_message = "The track of the channel must be 'dev/'. e.g. 'dev/edge'."
}
}

variable "model_uuid" {
Expand Down
Loading