Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openstack_dns_recordset_v2 does not read record values on refresh #1564

Closed
jcarrothers-sap opened this issue May 19, 2023 · 0 comments · Fixed by #1566
Closed

openstack_dns_recordset_v2 does not read record values on refresh #1564

jcarrothers-sap opened this issue May 19, 2023 · 0 comments · Fixed by #1566

Comments

@jcarrothers-sap
Copy link
Contributor

jcarrothers-sap commented May 19, 2023

Terraform Version

Terraform Version: v1.4.6
Provider version: 1.51.1

Affected Resource(s)

  • openstack_dns_recordset_v2

Expected Behavior

  • Provider resource should read in the full state of the recordset when running a plan or a refresh.

Actual Behavior

My first attempt to update a recordset resource value failed with a permission denied. I was able to fix the permissions error, but the tfstate file now thinks the recordset value is in the updated state, despite the value not having been updated in the system. A terraform refresh doesn't fix this issue as the resourceDNSRecordSetV2Read function does not update the recordset values in the terraform state.

Steps to Reproduce

  1. Fail to update an existing recordset value due a permissions issue
  2. Fix the permissions issue
  3. Attempt the update again without changing your .tf files

Alternative steps:

  1. Change a recordset value manually
  2. Run terraform and see that it doesn't notice the configuration drift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant