hashicorp / terraform-provider-dyn

Terraform Dyn provider. Please note: This Terraform provider is archived per our provider archiving process: https://terraform.io/docs/internals/archiving.html
https://registry.terraform.io
Mozilla Public License 2.0
7 stars 16 forks source link

r/dyn_record: Fix broken record update #17

Closed radeksimko closed 6 years ago

radeksimko commented 6 years ago

Before

=== RUN   TestAccDynRecord_Updated
--- FAIL: TestAccDynRecord_Updated (3.45s)
    testing.go:434: Step 1 error: Error applying: 1 error(s) occurred:

        * dyn_record.foobar: 1 error(s) occurred:

        * dyn_record.foobar: Failed to update Dyn record: server responded with 404 Not Found: {"status": "failure", "data": {}, "job_id": 4109540066, "msgs": [{"INFO": "id: You did not reference a specific record", "SOURCE": "BLL", "ERR_CD": "NOT_FOUND", "LVL": "ERROR"}, {"INFO": "update: No record updated", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}
FAIL

After

=== RUN   TestAccDynRecord_Updated
--- PASS: TestAccDynRecord_Updated (21.46s)