Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Error changing name of an opc_compute_ip_reservation #115

Open
scross01 opened this issue Mar 2, 2018 · 0 comments
Open

Error changing name of an opc_compute_ip_reservation #115

scross01 opened this issue Mar 2, 2018 · 0 comments
Labels
Milestone

Comments

@scross01
Copy link
Contributor

scross01 commented Mar 2, 2018

Terraform v0.11.3
+ provider.opc v1.1.0

Affected Resource(s)

  • opc_compute_ip_reservation

Terraform Configuration Files

resource "opc_compute_ip_reservation" "test" {
  name      = "test"
  parent_pool = "/oracle/public/ippool"
  permanent = true
}

Apply the above config, change the name to test-updated and then re-apply

Expected Behavior

Updating the resource name should force creation of a new resource. The original opc_compute_ip_reservation should be destroyed and a new resource created with the new name.

Actual Behavior

Terraform tries to update the name, but the apply fails

Terraform will perform the following actions:

  ~ opc_compute_ip_reservation.test
      name: "test" => "test-updated"

Plan: 0 to add, 1 to change, 0 to destroy.

opc_compute_ip_reservation.test: Modifying... (ID: test)
  name: "test" => "test-updated"

Error: Error applying plan:

1 error(s) occurred:

* opc_compute_ip_reservation.test: 1 error(s) occurred:

* opc_compute_ip_reservation.test: doesn't support update

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply
  2. Change name from test to test-updated
  3. terraform apply
@scross01 scross01 added the bug label Mar 2, 2018
@scross01 scross01 added this to the v1.2.0 milestone Apr 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant