confluentinc / ccloud-tools

Running Tools from Confluent Platform along with your Confluent Cloud™ Cluster
Apache License 2.0
66 stars 31 forks source link

Fix names to avoid validation warnings in terraform init #17

Closed rmoff closed 4 years ago

rmoff commented 4 years ago

init output was:

Terraform has initialized, but configuration upgrades may be needed.

Terraform found syntax errors in the configuration that prevented full
initialization. If you've recently upgraded to Terraform v0.12, this may be
because your configuration uses syntax constructs that are no longer valid,
and so must be updated before full initialization is possible.

Validate:

$ terraform validate

Error: Invalid output name

  on outputs.tf line 5, in output "REST Proxy":
   5: output "REST Proxy" {

A name must start with a letter and may contain only letters, digits,
underscores, and dashes.

This change just replaces spaces in the names with underscores.