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

Add instances data source #296

Merged
merged 5 commits into from
Nov 13, 2023

Conversation

aarani
Copy link
Contributor

@aarani aarani commented Nov 9, 2022

Description

This new datasource allows us to receive more than one instance from the API, the usecase for this includes searching for instances in a specific region or searching for instances with a specific tag.

Checklist:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you linted your code locally prior to submission?
  • Have you successfully ran tests with your changes locally?

aarani added a commit to aarani/pulumi-vultr-1 that referenced this pull request Nov 9, 2022
This commit switches to unofficial provider
to use our pending PR[1].

[1] vultr/terraform-provider-vultr#296
aarani added a commit to aarani/pulumi-vultr-1 that referenced this pull request Nov 9, 2022
This commit switches to unofficial provider
to use our pending PR[1].

[1] vultr/terraform-provider-vultr#296
aarani added a commit to nblockchain/terraform-provider-vultr that referenced this pull request Nov 9, 2022
This new datasource allows us to receive more than
one instance from the API, the usecase for this includes
searching for instances in a specific region or searching
for instances with a specific tag.

Upstream PR: vultr#296
aarani added a commit to aarani/pulumi-vultr-1 that referenced this pull request Nov 9, 2022
@aarani aarani force-pushed the upstream-instances-datasource branch from 472b442 to e05b6df Compare November 14, 2022 08:24
aarani added a commit to nblockchain/terraform-provider-vultr that referenced this pull request Nov 14, 2022
This new datasource allows us to receive more than
one instance from the API, the usecase for this includes
searching for instances in a specific region or searching
for instances with a specific tag.

Upstream PR: vultr#296
@optik-aper
Copy link
Member

Would you run this through gofmt and golangci-lint after merging master?

@optik-aper
Copy link
Member

Can you also provide an example of how you're intending this be used in a main.tf config?

@aarani aarani force-pushed the upstream-instances-datasource branch 2 times, most recently from 0ddb1bd to 4974ec9 Compare March 1, 2023 11:22
@aarani
Copy link
Contributor Author

aarani commented Mar 1, 2023

Can you also provide an example of how you're intending this be used in a main.tf config?

Unfortunately, we use and tested this data source in Pulumi (except the acceptance test which I ran) and I'm not really familiar with TF.

@aarani
Copy link
Contributor Author

aarani commented Mar 1, 2023

Would you run this through gofmt and golangci-lint after merging master?

Done.

@optik-aper
Copy link
Member

@aarani Apologies for the back and forth on this. If you can merge in master I'll get it out in the next release.

This new datasource allows us to receive more than
one instance from the API, the usecase for this includes
searching for instances in a specific region or searching
for instances with a specific tag.
@aarani aarani force-pushed the upstream-instances-datasource branch from 4974ec9 to 32c1aa1 Compare June 26, 2023 09:10
@aarani
Copy link
Contributor Author

aarani commented Jun 26, 2023

@optik-aper I rebased the branch and fixed the CI.

@knocte
Copy link

knocte commented Aug 3, 2023

@optik-aper ping?

Copy link
Member

@optik-aper optik-aper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and working

@optik-aper optik-aper merged commit 3f4ae64 into vultr:master Nov 13, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants