Description
When I run make plan , the output like this
`# module.nomad.nomad_variable.orchestrator_hash will be created
- resource "nomad_variable" "orchestrator_hash" {
- id = (known after apply)
- items = (sensitive value)
- namespace = "default"
- path = "nomad/jobs"
}
Plan: 11 to add, 0 to change, 0 to destroy.
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Saved the plan to: .tfplan.dev
To perform exactly these actions, run the following command to apply:
terraform apply ".tfplan.dev"
make: *** [Makefile:82: plan] Error 2``
`
Then I run make apply, the outpu look like this
`Applying Terraform for env: dev
./scripts/confirm.sh dev
TF_VAR_client_machine_type=n1-standard-1 TF_VAR_client_cluster_size=1 TF_VAR_client_cluster_auto_scaling_max=1 TF_VAR_api_machine_type=n1-standard-1 TF_VAR_api_cluster_size=1 TF_VAR_build_machine_type=n1-standard-1 TF_VAR_build_cluster_size=1 TF_VAR_server_machine_type=n1-standard-1 TF_VAR_server_cluster_size=1 TF_VAR_gcp_project_id=healthy-silo-461614-i8 TF_VAR_gcp_region=us-west1 TF_VAR_gcp_zone=us-west1-a TF_VAR_domain_name=seamoon.date TF_VAR_additional_domains= TF_VAR_prefix="e2b-" TF_VAR_terraform_state_bucket=e2b-tf-state TF_VAR_otel_tracing_print=false TF_VAR_environment=dev TF_VAR_template_bucket_name= TF_VAR_template_bucket_location=us-west1 TF_VAR_clickhouse_connection_string= TF_VAR_clickhouse_username= TF_VAR_clickhouse_database= TF_VAR_redis_managed=false TF_VAR_grafana_managed=false
/usr/local/sbin/terraform apply
-auto-approve
-input=false
-compact-warnings
-parallelism=20
.tfplan.dev
module.nomad.nomad_variable.orchestrator_hash: Creating...
module.nomad.nomad_job.client_proxy: Creating...
module.nomad.nomad_job.otel_collector: Creating...
module.nomad.nomad_job.template_manager: Creating...
module.nomad.nomad_job.redis: Creating...
module.nomad.nomad_job.docker_reverse_proxy: Creating...
module.nomad.nomad_job.loki: Creating...
module.nomad.nomad_job.logs_collector: Creating...
module.nomad.nomad_job.clickhouse: Creating...
module.nomad.nomad_job.api: Creating...
╷
│ Error: error applying jobspec: Put "https://nomad.seamoon.date/v1/jobs?namespace=default": EOF
│
│ with module.nomad.nomad_job.api,
│ on packages/nomad/main.tf line 37, in resource "nomad_job" "api":
│ 37: resource "nomad_job" "api" {
│
╵
╷
│ Error: error applying jobspec: Put "https://nomad.seamoon.date/v1/jobs?namespace=default": EOF
│
│ with module.nomad.nomad_job.redis,
│ on packages/nomad/main.tf line 72, in resource "nomad_job" "redis":
│ 72: resource "nomad_job" "redis" {
│
╵
╷
│ Error: error applying jobspec: Put "https://nomad.seamoon.date/v1/jobs?namespace=default": EOF
│
│ with module.nomad.nomad_job.docker_reverse_proxy,
│ on packages/nomad/main.tf line 85, in resource "nomad_job" "docker_reverse_proxy":
│ 85: resource "nomad_job" "docker_reverse_proxy" {
│
╵
╷
│ Error: error applying jobspec: Put "https://nomad.seamoon.date/v1/jobs?namespace=default": EOF
│
│ with module.nomad.nomad_job.client_proxy,
│ on packages/nomad/main.tf line 105, in resource "nomad_job" "client_proxy":
│ 105: resource "nomad_job" "client_proxy" {
│
╵
╷
│ Error: error applying jobspec: Put "https://nomad.seamoon.date/v1/jobs?namespace=default": EOF
│
│ with module.nomad.nomad_job.otel_collector,
│ on packages/nomad/main.tf line 200, in resource "nomad_job" "otel_collector":
│ 200: resource "nomad_job" "otel_collector" {
│
╵
╷
│ Error: error applying jobspec: Put "https://nomad.seamoon.date/v1/jobs?namespace=default": EOF
│
│ with module.nomad.nomad_job.logs_collector,
│ on packages/nomad/main.tf line 284, in resource "nomad_job" "logs_collector":
│ 284: resource "nomad_job" "logs_collector" {
│
╵
╷
│ Error: error creating variable nomad/jobs@default: Put "https://nomad.seamoon.date/v1/var/nomad/jobs": EOF
│
│ with module.nomad.nomad_variable.orchestrator_hash,
│ on packages/nomad/main.tf line 365, in resource "nomad_variable" "orchestrator_hash":
│ 365: resource "nomad_variable" "orchestrator_hash" {
│
╵
╷
│ Error: error applying jobspec: Put "https://nomad.seamoon.date/v1/jobs?namespace=default": EOF
│
│ with module.nomad.nomad_job.template_manager,
│ on packages/nomad/main.tf line 399, in resource "nomad_job" "template_manager":
│ 399: resource "nomad_job" "template_manager" {
│
╵
╷
│ Error: error applying jobspec: Put "https://nomad.seamoon.date/v1/jobs?namespace=default": EOF
│
│ with module.nomad.nomad_job.loki,
│ on packages/nomad/main.tf line 423, in resource "nomad_job" "loki":
│ 423: resource "nomad_job" "loki" {
│
╵
╷
│ Error: error applying jobspec: Put "https://nomad.seamoon.date/v1/jobs?namespace=default": EOF
│
│ with module.nomad.nomad_job.clickhouse,
│ on packages/nomad/main.tf line 462, in resource "nomad_job" "clickhouse":
│ 462: resource "nomad_job" "clickhouse" {
│
╵
make: *** [Makefile:103: apply] Error 1`
What is the problem? How can I run the two commands suceesfully?
I note that "Note: This will work after the TLS certificates was issued. It can take some time; you can check the status in the Google Cloud Console"
What does this means? Need I create TLS certificates?
