You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @saltxwater and thanks for taking the time to fill this detailed issue. This is related to the fact that Nomad was not updating the hclv1 parser to include new functionality until recently, where we decided to change approach and keep the hclv1 and hclv2 parser harmonised. This work was conducted within hashicorp/nomad#10931 and is pending release. I will work on updating the dependancy to fix this issue.
Terraform Version
Terraform v0.14.6
Nomad Version
1.1.2+ent
Provider Configuration
Which values are you setting in the provider configuration?
Environment Variables
NOMAD_ADDR and NOMAD_TOKEN are set appropriately
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Job should be parsed correctly and submitted to Nomad for execution
Actual Behavior
Steps to Reproduce
terraform plan
Important Factoids
This is a duplicate of the fixed issue:
#220
However with hcl2 not-enabled.
The parser goes through a different code path when hcl2 is not enabled and I don't think this parser has been fixed:
https://github.com/hashicorp/terraform-provider-nomad/blob/main/nomad/resource_job.go#L738
References
#220
The text was updated successfully, but these errors were encountered: