- New Resource:
nomad_node_pool
manages node pools (#340) - New Resource:
nomad_variable
manages Nomad variables (#325) - New Data Source:
nomad_node_pool
andnomad_node_pools
to retrieves one or mode node pools (#340) - New Data Source:
nomad_variable
retrieves a Nomad variable (#325)
BACKWARDS INCOMPATIBILITIES:
- provider: Terraform Plugin SDK upgraded to v2.10.1. Terraform versions prior to 0.12 are no longer supported. (#339)
- resource/nomad_job: Switch to HCL2 parsing by default. Jobs that require HCL1 parsing must set
hcl1 = true
. (#343)
DEPRECATIONS:
- resource/nomad_volume: The
nomad_volume
resource has been deprecated. Use the newnomad_csi_volume_registration
resource instead. (#344) - resource/nomad_external_volume: The
nomad_external_volume
resource has been deprecated. Use the newnomad_csi_volume
resource instead. (#344)
IMPROVEMENTS:
- *Target Nomad 1.6.0: updated the nomad client to support Nomad API and jobspec version 1.6.0 (#345)
- provider: add
skip_verify
configuration to skip TLS verification (#319) - provider: update Go to 1.20.5 (#334)
- resource/nomad_acl_policy: add support for
job_acl
(#314) - resource/nomad_volume and resource/nomad_external_volume: add timeouts for volume creation, registration, deregistration, and deletion (#346)
BUG FIXES:
- data source/acl_auth_method: fix a bug where the values of
max_token_ttl
anddiscovery_ca_pem
were not persisted to state. (#339) - data source/acl_token: fix a bug where the value of
expiration_ttl
was not persisted to state. (#339) - data source/namespace: use type list to represent capabilities so its values can be indexed with Terraform SDKv2 (#339)
- data source/nomad_volume: fix panic when reading volume (#323)
- resources/nomad_acl_binding_rule: fix a bug where
bind_name
was required even whenbind_type
wasmanagement
. (#330) - resources/nomad_job: fix a bug that prevented deployments for jobs in namespaces other than
default
from being monitored. (#347) - resource/nomad_volume and resource/nomad_external_volume: fix a bug where
topology_request
was not persisted to state. (#342