-
Notifications
You must be signed in to change notification settings - Fork 278
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
Add reserved ipv6 resource #1277
Conversation
3970caa
to
ee9364d
Compare
Nice work! Let's update Let's add
to and
to Here are some notes that will help you to check your changes locally
to create a terraform config Here is the example of the main.tf you can run (please update the token with your token): terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = ">= 5.3"
}
}
}
provider "digitalocean" {
token = "dop_v1_12345d7ce104413a59023656565"
}
resource "digitalocean_droplet" "foobar-my-tf" {
image = "ubuntu-22-04-x64"
name = "tf-acc-test-my-tf"
region = "nyc3"
size = "s-1vcpu-1gb"
}
This will use with your real DigitalOcean account by using your token. It's a good practice to remove created resources when you are done.
or if you want more detailed logs:
Then you will see more logs when you run |
Hey Ashwani, Could you take a look please? This is the curl command taken from your openapi PR:
I'm seeing the same error form terraform when run
TF error
If the API call isn't functioning correctly, I believe it would be best to first ensure that the API endpoint is working properly before moving forward with Terraform, OpenAPI, or anything related to this endpoint. |
This feature is behind a flipper, that's why you are getting 404, please add yourself to https://flipperui.internal.digitalocean.com/features/reserved_ipv6 |
979e174
to
12391cc
Compare
12391cc
to
890e30d
Compare
@loosla I have updated the changes you requested but I am getting this error while testing locally
|
Sorry about that.
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = ">= 2.44.1"
}
}
}
I happened to update mine some time ago, but I didn't actually use it because I didn't re-initialised it. Good catch . Thanks for your feedback 👍 |
e0c2eec
to
9bb7f4a
Compare
9bb7f4a
to
ba7f286
Compare
👋 Ashwani, could you check the case below 🙏
Steps:
Looks like this Could you please advise or do some fixes? *Just in case I'm still able to create or delete |
There are 2 issues which are causing these failures, PRs are up for both, I will update you once those are deployed. |
3378957
to
fded416
Compare
@imaskm Could you please run |
7909622
to
646e5e8
Compare
@imaskm Ashwani, Looks good to me 👍 Thanks for your patience and all updates 🙏 Could you just add one acceptance test that will ensure that we can assign reserved ipv6 to another droplet. Also, please update godo to the latest released 🙏 - v1.131.1 |
79dd3eb
to
cd7448d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks 🚀
Excellent job!
This PR adds a new resource "reserved_ipv6"