-
Notifications
You must be signed in to change notification settings - Fork 101
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
Adding support for datacenter
field on connect upstreams stanza
#193
Comments
Thank you for the report @yaroslav-007. We updated our Nomad dependency in #166, so this won't be a problem anymore. I will leave this open until the new version is out and you can confirm that the problem is fixed. |
Hi @yaroslav-007, v0.14.12 is out now, could you update the provider and check if this problem is fixed? |
Hello,
|
Oh, this field was added after HCL2 support, so only the HCL2 parser recognizes it. Could you update your Terraform config file to use HCL2 parsing and try again? |
Hello, I can confirm that it works now |
Awesome, glad to hear that 😄 I will go ahead and close this issue. |
Hi there,
I am working on a learning project. I am at step where I have to use consul connect between two datacenters. The setting in a nomad job file should be as follows:
Nomad has added support for
datacenter
field on connect upstreams recently: hashicorp/nomad#8964The
nomad job run wordpress.nomad
with the above setting is successful , but nomad provider fails to deploy this file with errorinvalid key: datacenter
. I am using latest nomad (Nomad v1.0.2 ) and nomad provider (nomad v1.4.11)Terraform Version
Nomad Version
nomad server members
Name Address Port Status Leader Protocol Build Datacenter Region
dc1-nomad-server-0.global 10.2.0.7 4648 alive false 2 1.0.2 dc1 global
dc1-nomad-server-1.global 10.2.0.9 4648 alive false 2 1.0.2 dc1 global
dc1-nomad-server-2.global 10.2.0.10 4648 alive true 2 1.0.2 dc1 global
Provider Configuration
Environment Variables
Do you have any Nomad specific environment variable set in the machine running Terraform? -> NO
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behavior
terraform apply
should be successfulActual Behavior
The text was updated successfully, but these errors were encountered: