Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource/job: remove attribute allocation_ids
Storing the list of allocation IDs in a `nomad_job` resource can lead to ever-changing plans since the list can change outsite of Terraform. Retrieving this type of information is better suited for a data source. The Terraform provider deprecation guide recommends attributes to be first marked as deprecated before full removal in the next major release. Given that the next release will be a major release, this commit introduces a breaking change in behaviour (allocation IDs are not fetched by default anymore) but provides a fallback with the `read_allocation_ids` attribute. Both attributes are marked as deprecated and will be removed in the next major release.
- Loading branch information