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

data-source/aws_eks_node_group #13564

Merged
merged 13 commits into from
Sep 14, 2021

Conversation

zot24
Copy link
Contributor

@zot24 zot24 commented Jun 1, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #13442

Release note for CHANGELOG:

New Data Source: aws_eks_node_group
New Data Source: aws_eks_node_group_names

Output from acceptance testing:

$make testacc TEST=./aws TESTARGS='-run=TestAccAWSEksNodegroupDataSource_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 1 -run=TestAccAWSEksNodegroupDataSource_basic -timeout 120m
=== RUN   TestAccAWSEksNodegroupDataSource_basic
--- PASS: TestAccAWSEksNodegroupDataSource_basic (1631.74s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       1632.629s
$make testacc TEST=./aws TESTARGS='-run=TestAccAWSEksNodegroupNamesDataSource_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 1 -run=TestAccAWSEksNodegroupNamesDataSource_basic -timeout 120m
=== RUN   TestAccAWSEksNodegroupNamesDataSource_basic
--- PASS: TestAccAWSEksNodegroupNamesDataSource_basic (1614.61s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       1615.495s

@ghost ghost added size/XL Managed by automation to categorize the size of a PR. provider Pertains to the provider itself, rather than any interaction with AWS. needs-triage Waiting for first response or review from a maintainer. service/eks Issues and PRs that pertain to the eks service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. documentation Introduces or discusses updates to documentation. labels Jun 1, 2020
@zot24 zot24 changed the title F data source aws eks node group data-source/aws_eks_node_group Jun 1, 2020
@zot24 zot24 marked this pull request as ready for review June 1, 2020 01:27
@zot24 zot24 requested a review from a team June 1, 2020 01:27
@zot24
Copy link
Contributor Author

zot24 commented Jun 5, 2020

Hey folks! this is my first PR I'm excited waiting for feedback 😄 let me know if there is anything you want me to work on and change, I have certain doubts naming of things mainly as well as some doubts around the acceptance tests

Feedback is welcome thanks!

@zot24
Copy link
Contributor Author

zot24 commented Jun 15, 2020

@bflad I'm sorry, hate to do this but I'm uncertain how to get some feedback on this PR

It's most likely that I would have to change things and would love to dedicate the time to it now that I can, would be great to get some help if possible. I'm pinging you Brian as I can see you are involve in pretty much every PR

Hope this is not to intrusive I just don't want this PR to get lost in time as I think it could be a good addition to the provider

@teamterraform
Copy link

Notification of Recent and Upcoming Changes to Contributions

Thank you for this contribution! There have been a few recent development changes that affect this pull request. We apologize for the inconvenience, especially if there have been long review delays up until now. Please note that this is automated message from an unmonitored account. See the FAQ for additional information on the maintainer team and review prioritization.

If you are unable to complete these updates, please leave a comment for the community and maintainers so someone can potentially continue the work. The maintainers will encourage other contributors to use the existing contribution as the base for additional changes as appropriate. Otherwise, contributions that do not receive updated code or comments from the original contributor may be closed in the future so the maintainers can focus on active items.

For the most up to date information about Terraform AWS Provider development, see the Contributing Guide. Additional technical debt changes can be tracked with the technical-debt label on issues.

As part of updating a pull request with these changes, the most current unit testing and linting will run. These may report issues that were not previously reported.

Action Required: Terraform 0.12 Syntax

Reference: #8950
Reference: #14417

Version 3 and later of the Terraform AWS Provider, which all existing contributions would potentially be added, only supports Terraform 0.12 and later. Certain syntax elements of Terraform 0.11 and earlier show deprecation warnings during runs with Terraform 0.12. Documentation and test configurations, such as those including deprecated string interpolations (some_attribute = "${aws_service_thing.example.id}") should be updated to the newer syntax (some_attribute = aws_service_thing.example.id). Contribution testing will automatically fail on older syntax in the near future. Please see the referenced issues for additional information.

Action Required: Terraform Plugin SDK Version 2

Reference: #14551

The Terraform AWS Provider has been upgraded to the latest version of the Terraform Plugin SDK. Generally, most changes to contributions should only involve updating Go import paths in source code files. Please see the referenced issue for additional information.

Action Required: Removal of website/aws.erb File

Reference: #14712

Any changes to the website/aws.erb file are no longer necessary and should be removed from this contribution to prevent merge issues in the near future when the file is removed from the repository. Please see the referenced issue for additional information.

Upcoming Change of Git Branch Naming

Reference: #14292

Development environments will need their upstream Git branch updated from master to main in the near future. Please see the referenced issue for additional information and scheduling.

Upcoming Change of GitHub Organization

Reference: #14715

This repository will be migrating from https://github.com/terraform-providers/terraform-provider-aws to https://github.com/hashicorp/terraform-provider-aws. No practitioner or developer action is anticipated and most GitHub functionality will automatically redirect to the new location. Go import paths including terraform-providers can remain for now. Please see the referenced issue for additional information and scheduling.

@bflad bflad added new-data-source Introduces a new data source. and removed needs-triage Waiting for first response or review from a maintainer. labels Aug 19, 2020
Copy link

@sgran sgran left a comment

Choose a reason for hiding this comment

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

Minor cleanup in docs requested.

website/docs/d/eks_node_group_names.html.markdown Outdated Show resolved Hide resolved
website/docs/d/eks_node_group.html.markdown Show resolved Hide resolved
Base automatically changed from master to main January 23, 2021 00:58
@breathingdust breathingdust requested a review from a team as a code owner January 23, 2021 00:58
@DonBower
Copy link

DonBower commented Apr 5, 2021

Is there an ETA on this feature?

@ghost
Copy link

ghost commented May 4, 2021

Hello, and thank you for your contribution!

This project recently upgraded to V2 of the Terraform Plugin SDK

This pull request appears to include at least one V1 import path of the SDK ("github.com/hashicorp/terraform-plugin-sdk/helper/schema"). Please import the V2 path github.com/hashicorp/terraform-plugin-sdk/v2/helper/PACKAGE

To resolve this situation without losing any existing work, you may be able to Git rebase your branch against the current default (main) branch (example below); replacing any remaining old import paths with the newer ones.

$ git fetch --all
$ git rebase origin/main

Another option is to create a new branch from the current default (main) with the same code changes (replacing the import paths), submit a new pull request, and close this existing pull request.

We apologize for this inconvenience and appreciate your effort. Thank you for contributing and helping make the Terraform AWS Provider better for everyone.

@zot24 zot24 force-pushed the f-data_source_aws_eks_node_group branch 3 times, most recently from 08c9949 to e6d182c Compare May 5, 2021 00:20
@DonBower
Copy link

can this be merged? I could really use this data source.

@DonBower
Copy link

@teamterraform Can this PR be merged? I could really use the ability the retrive the ASG from an existing node group

@sgran
Copy link

sgran commented Jul 13, 2021

@teamterraform what's blocking getting this merged? I could really use this functionality for some work I'm doing.

@DonBower
Copy link

Still waiting....
Review requested
Review has been requested on this pull request. It is not required to merge.

Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

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

LGTM 🚀.

Commercial
% make testacc TESTARGS='-run=TestAccAWSEksNodegroupDataSource_\|TestAccAWSEksNodegroupsDataSource_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSEksNodegroupDataSource_\|TestAccAWSEksNodegroupsDataSource_ -timeout 180m
=== RUN   TestAccAWSEksNodegroupDataSource_basic
--- PASS: TestAccAWSEksNodegroupDataSource_basic (1281.02s)
=== RUN   TestAccAWSEksNodegroupsDataSource_basic
--- PASS: TestAccAWSEksNodegroupsDataSource_basic (1185.01s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	2469.764s
GovCloud
% make testacc TESTARGS='-run=TestAccAWSEksNodegroupDataSource_\|TestAccAWSEksNodegroupsDataSource_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSEksNodegroupDataSource_\|TestAccAWSEksNodegroupsDataSource_ -timeout 180m
=== RUN   TestAccAWSEksNodegroupDataSource_basic
--- PASS: TestAccAWSEksNodegroupDataSource_basic (993.60s)
=== RUN   TestAccAWSEksNodegroupsDataSource_basic
--- PASS: TestAccAWSEksNodegroupsDataSource_basic (977.24s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	1974.608s

@ewbankkit
Copy link
Contributor

ewbankkit commented Sep 14, 2021

@zot24 Thanks for the contribution 🎉 👏.
I renamed the aws_eks_node_group_names data source to aws_eks_node_groups to match other plural data sources.

@ewbankkit ewbankkit merged commit ed497b8 into hashicorp:main Sep 14, 2021
@DonBower
Copy link

Thank you @zot24 and @ewbankkit !

@breathingdust breathingdust added this to the v3.59.0 milestone Sep 16, 2021
@github-actions
Copy link

This functionality has been released in v3.59.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@zot24 zot24 deleted the f-data_source_aws_eks_node_group branch September 17, 2021 18:32
@zot24
Copy link
Contributor Author

zot24 commented Sep 17, 2021

Thanks guys! 👏🏽 @ewbankkit great work 😄 glad to see this merged!

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. new-data-source Introduces a new data source. provider Pertains to the provider itself, rather than any interaction with AWS. service/eks Issues and PRs that pertain to the eks service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Implement data source for EKS Manage Node Groups
7 participants