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

[BUG] - Incorrect resource type specificed in vultr_reverse_ipv6 example #267

Closed
uplime opened this issue Jun 13, 2022 · 2 comments · Fixed by #268
Closed

[BUG] - Incorrect resource type specificed in vultr_reverse_ipv6 example #267

uplime opened this issue Jun 13, 2022 · 2 comments · Fixed by #268
Assignees
Labels

Comments

@uplime
Copy link

uplime commented Jun 13, 2022

Describe the bug
The example usage in vultr_reverse_ipv6 shows the following:

resource "vultr_reverse_ipv6" "my_reverse_ipv6" {
    instance_id = "${vultr_server.my_server.id}"
    ip = "${vultr_server.my_server.v6_networks[0].v6_main_ip}"
    reverse = "host.example.com"
}

However, there is no resource type named vultr_server. Based on the vultr_reverse_ipv4 page, it looks like that should be a resource type of vultr_instance instead.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to https://registry.terraform.io/providers/vultr/vultr/latest/docs/resources/reverse_ipv6
  2. Attempt to run the example usage with terraform plan
  3. Receive an error indicating that vultr_server is an undeclared resource

Expected behavior
Able to run the example usage without error.

Screenshots
NA

Desktop (please complete the following information where applicable:

  • OS: MacOS
  • Language Version: NA
  • Browser: Firefox
  • Version: 100.0

Additional context

NA

@uplime uplime added the bug label Jun 13, 2022
@optik-aper
Copy link
Member

@uplime Thanks for reporting. We'll get this fixed.

@optik-aper optik-aper self-assigned this Jun 14, 2022
@uplime
Copy link
Author

uplime commented Jun 14, 2022

Thanks!

optik-aper added a commit to optik-aper/terraform-provider-vultr that referenced this issue Jun 14, 2022
Reported in issues vultr#267 & vultr#266
@optik-aper optik-aper linked a pull request Jun 14, 2022 that will close this issue
3 tasks
@Oogy Oogy closed this as completed in #268 Jun 14, 2022
Oogy pushed a commit that referenced this issue Jun 14, 2022
* Add support for label update on reserved IP

* Bump govultr to v2.17.2

* Move label test to separate function

* Fix documentation

Reported in issues #267 & #266
@optik-aper optik-aper mentioned this issue Jun 14, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants