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

r/aws_ami: Refactor tagging logic to keyvaluetags package #10751

Merged
merged 8 commits into from
Nov 6, 2019

Conversation

DrFaust92
Copy link
Collaborator

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" comments, they generate extra noise for pull request followers and do not help prioritize the request

Relates: #10688

Release note for CHANGELOG:

NONE

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSAMI_'
=== RUN   TestAccAWSAMI_basic
=== PAUSE TestAccAWSAMI_basic
=== CONT  TestAccAWSAMI_basic
--- PASS: TestAccAWSAMI_basic (74.79s)
=== RUN   TestAccAWSAMI_tags
=== PAUSE TestAccAWSAMI_tags
=== CONT  TestAccAWSAMI_tags
--- PASS: TestAccAWSAMI_tags (139.63s)
=== RUN   TestAccAWSAMI_snapshotSize
=== PAUSE TestAccAWSAMI_snapshotSize
=== CONT  TestAccAWSAMI_snapshotSize
--- PASS: TestAccAWSAMI_snapshotSize (73.42s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	296.478s

...

@DrFaust92 DrFaust92 requested a review from a team November 5, 2019 14:24
@ghost ghost added size/M Managed by automation to categorize the size of a PR. service/ec2 Issues and PRs that pertain to the ec2 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Nov 5, 2019
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

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

Hey @DrFaust92 👋 Thanks for submitting this. Overall this looks good, just left one item that maybe hasn't been mentioned before about using the indexed format verbs and a very minor nit. Please reach out with any questions, thanks again.

aws/resource_aws_ami_test.go Outdated Show resolved Hide resolved
aws/resource_aws_ami_test.go Outdated Show resolved Hide resolved
@bflad bflad added technical-debt Addresses areas of the codebase that need refactoring or redesign. waiting-response Maintainers are waiting on response from community or contributor. labels Nov 5, 2019
DrFaust92 and others added 3 commits November 6, 2019 10:31
Co-Authored-By: Brian Flad <bflad417@gmail.com>
Co-Authored-By: Brian Flad <bflad417@gmail.com>
@DrFaust92
Copy link
Collaborator Author

@bflad, Thanks for the comments, Updated accordingly.

test results after change:

=== RUN   TestAccAWSAMI_basic
=== PAUSE TestAccAWSAMI_basic
=== CONT  TestAccAWSAMI_basic
--- PASS: TestAccAWSAMI_basic (93.25s)
=== RUN   TestAccAWSAMI_tags
=== PAUSE TestAccAWSAMI_tags
=== CONT  TestAccAWSAMI_tags
=== RUN   TestAccAWSAMI_snapshotSize
=== PAUSE TestAccAWSAMI_snapshotSize
=== CONT  TestAccAWSAMI_snapshotSize
--- PASS: TestAccAWSAMI_snapshotSize (90.15s)
--- PASS: TestAccAWSAMI_tags (152.84s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	346.919s

@ghost ghost removed the waiting-response Maintainers are waiting on response from community or contributor. label Nov 6, 2019
@DrFaust92 DrFaust92 requested a review from bflad November 6, 2019 08:53
@bflad bflad added this to the v2.35.0 milestone Nov 6, 2019
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for those updates, @DrFaust92 🚀

--- PASS: TestAccAWSAMI_snapshotSize (47.60s)
--- PASS: TestAccAWSAMI_basic (48.16s)
--- PASS: TestAccAWSAMI_tags (59.53s)

@bflad bflad merged commit 786fce7 into hashicorp:master Nov 6, 2019
@ghost
Copy link

ghost commented Nov 7, 2019

This has been released in version 2.35.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 for triage. Thanks!

@DrFaust92 DrFaust92 deleted the resource-ami-keyvalue-tags branch November 9, 2019 12:46
@ghost
Copy link

ghost commented Mar 29, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/ec2 Issues and PRs that pertain to the ec2 service. size/M Managed by automation to categorize the size of a PR. technical-debt Addresses areas of the codebase that need refactoring or redesign. 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.

2 participants