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 tags argument to resource/aws_elasticache_parameter_group #19551

Merged
merged 4 commits into from
May 27, 2021

Conversation

pall-valmundsson
Copy link
Contributor

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 #19550

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSElasticacheParameterGroup'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSElasticacheParameterGroup -timeout 180m
=== RUN   TestAccAWSElasticacheParameterGroup_basic
=== PAUSE TestAccAWSElasticacheParameterGroup_basic
=== RUN   TestAccAWSElasticacheParameterGroup_addParameter
=== PAUSE TestAccAWSElasticacheParameterGroup_addParameter
=== RUN   TestAccAWSElasticacheParameterGroup_removeAllParameters
=== PAUSE TestAccAWSElasticacheParameterGroup_removeAllParameters
=== RUN   TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_AllParameters
=== PAUSE TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_AllParameters
=== RUN   TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_RemainingParameters
=== PAUSE TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_RemainingParameters
=== RUN   TestAccAWSElasticacheParameterGroup_switchReservedMemoryParameter
=== PAUSE TestAccAWSElasticacheParameterGroup_switchReservedMemoryParameter
=== RUN   TestAccAWSElasticacheParameterGroup_updateReservedMemoryParameter
=== PAUSE TestAccAWSElasticacheParameterGroup_updateReservedMemoryParameter
=== RUN   TestAccAWSElasticacheParameterGroup_UppercaseName
=== PAUSE TestAccAWSElasticacheParameterGroup_UppercaseName
=== RUN   TestAccAWSElasticacheParameterGroup_Description
=== PAUSE TestAccAWSElasticacheParameterGroup_Description
=== RUN   TestAccAWSElasticacheParameterGroup_Tags
=== PAUSE TestAccAWSElasticacheParameterGroup_Tags
=== CONT  TestAccAWSElasticacheParameterGroup_basic
=== CONT  TestAccAWSElasticacheParameterGroup_updateReservedMemoryParameter
=== CONT  TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_AllParameters
=== CONT  TestAccAWSElasticacheParameterGroup_addParameter
=== CONT  TestAccAWSElasticacheParameterGroup_Tags
=== CONT  TestAccAWSElasticacheParameterGroup_Description
=== CONT  TestAccAWSElasticacheParameterGroup_switchReservedMemoryParameter
=== CONT  TestAccAWSElasticacheParameterGroup_UppercaseName
=== CONT  TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_RemainingParameters
=== CONT  TestAccAWSElasticacheParameterGroup_removeAllParameters
--- PASS: TestAccAWSElasticacheParameterGroup_Description (35.70s)
--- PASS: TestAccAWSElasticacheParameterGroup_UppercaseName (35.79s)
--- PASS: TestAccAWSElasticacheParameterGroup_basic (36.07s)
--- PASS: TestAccAWSElasticacheParameterGroup_removeAllParameters (55.63s)
--- PASS: TestAccAWSElasticacheParameterGroup_updateReservedMemoryParameter (56.21s)
--- PASS: TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_RemainingParameters (57.95s)
--- PASS: TestAccAWSElasticacheParameterGroup_addParameter (59.18s)
--- PASS: TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_AllParameters (60.88s)
--- PASS: TestAccAWSElasticacheParameterGroup_switchReservedMemoryParameter (60.99s)
--- PASS: TestAccAWSElasticacheParameterGroup_Tags (74.67s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       74.755s

@pall-valmundsson pall-valmundsson requested a review from a team as a code owner May 27, 2021 15:46
@ghost ghost added size/M Managed by automation to categorize the size of a PR. labels May 27, 2021
@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. documentation Introduces or discusses updates to documentation. service/elasticache Issues and PRs that pertain to the elasticache service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels May 27, 2021
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome @pall-valmundsson 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label May 27, 2021
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 TEST=./aws TESTARGS='-run=TestAccAWSElasticacheParameterGroup_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSElasticacheParameterGroup_ -timeout 180m
=== RUN   TestAccAWSElasticacheParameterGroup_basic
=== PAUSE TestAccAWSElasticacheParameterGroup_basic
=== RUN   TestAccAWSElasticacheParameterGroup_addParameter
=== PAUSE TestAccAWSElasticacheParameterGroup_addParameter
=== RUN   TestAccAWSElasticacheParameterGroup_removeAllParameters
=== PAUSE TestAccAWSElasticacheParameterGroup_removeAllParameters
=== RUN   TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_AllParameters
=== PAUSE TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_AllParameters
=== RUN   TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_RemainingParameters
=== PAUSE TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_RemainingParameters
=== RUN   TestAccAWSElasticacheParameterGroup_switchReservedMemoryParameter
=== PAUSE TestAccAWSElasticacheParameterGroup_switchReservedMemoryParameter
=== RUN   TestAccAWSElasticacheParameterGroup_updateReservedMemoryParameter
=== PAUSE TestAccAWSElasticacheParameterGroup_updateReservedMemoryParameter
=== RUN   TestAccAWSElasticacheParameterGroup_UppercaseName
=== PAUSE TestAccAWSElasticacheParameterGroup_UppercaseName
=== RUN   TestAccAWSElasticacheParameterGroup_Description
=== PAUSE TestAccAWSElasticacheParameterGroup_Description
=== RUN   TestAccAWSElasticacheParameterGroup_Tags
=== PAUSE TestAccAWSElasticacheParameterGroup_Tags
=== CONT  TestAccAWSElasticacheParameterGroup_basic
=== CONT  TestAccAWSElasticacheParameterGroup_updateReservedMemoryParameter
=== CONT  TestAccAWSElasticacheParameterGroup_Tags
=== CONT  TestAccAWSElasticacheParameterGroup_addParameter
=== CONT  TestAccAWSElasticacheParameterGroup_removeAllParameters
=== CONT  TestAccAWSElasticacheParameterGroup_Description
=== CONT  TestAccAWSElasticacheParameterGroup_UppercaseName
=== CONT  TestAccAWSElasticacheParameterGroup_switchReservedMemoryParameter
=== CONT  TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_AllParameters
=== CONT  TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_RemainingParameters
--- PASS: TestAccAWSElasticacheParameterGroup_basic (29.99s)
--- PASS: TestAccAWSElasticacheParameterGroup_Description (30.97s)
--- PASS: TestAccAWSElasticacheParameterGroup_UppercaseName (31.10s)
--- PASS: TestAccAWSElasticacheParameterGroup_removeAllParameters (45.34s)
--- PASS: TestAccAWSElasticacheParameterGroup_addParameter (48.16s)
--- PASS: TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_AllParameters (49.89s)
--- PASS: TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_RemainingParameters (49.98s)
--- PASS: TestAccAWSElasticacheParameterGroup_updateReservedMemoryParameter (50.02s)
--- PASS: TestAccAWSElasticacheParameterGroup_switchReservedMemoryParameter (50.03s)
--- PASS: TestAccAWSElasticacheParameterGroup_Tags (63.01s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	66.295s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSElasticacheParameterGroup_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSElasticacheParameterGroup_ -timeout 180m
=== RUN   TestAccAWSElasticacheParameterGroup_basic
=== PAUSE TestAccAWSElasticacheParameterGroup_basic
=== RUN   TestAccAWSElasticacheParameterGroup_addParameter
=== PAUSE TestAccAWSElasticacheParameterGroup_addParameter
=== RUN   TestAccAWSElasticacheParameterGroup_removeAllParameters
=== PAUSE TestAccAWSElasticacheParameterGroup_removeAllParameters
=== RUN   TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_AllParameters
=== PAUSE TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_AllParameters
=== RUN   TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_RemainingParameters
=== PAUSE TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_RemainingParameters
=== RUN   TestAccAWSElasticacheParameterGroup_switchReservedMemoryParameter
=== PAUSE TestAccAWSElasticacheParameterGroup_switchReservedMemoryParameter
=== RUN   TestAccAWSElasticacheParameterGroup_updateReservedMemoryParameter
=== PAUSE TestAccAWSElasticacheParameterGroup_updateReservedMemoryParameter
=== RUN   TestAccAWSElasticacheParameterGroup_UppercaseName
=== PAUSE TestAccAWSElasticacheParameterGroup_UppercaseName
=== RUN   TestAccAWSElasticacheParameterGroup_Description
=== PAUSE TestAccAWSElasticacheParameterGroup_Description
=== RUN   TestAccAWSElasticacheParameterGroup_Tags
=== PAUSE TestAccAWSElasticacheParameterGroup_Tags
=== CONT  TestAccAWSElasticacheParameterGroup_basic
=== CONT  TestAccAWSElasticacheParameterGroup_UppercaseName
=== CONT  TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_RemainingParameters
=== CONT  TestAccAWSElasticacheParameterGroup_addParameter
=== CONT  TestAccAWSElasticacheParameterGroup_removeAllParameters
=== CONT  TestAccAWSElasticacheParameterGroup_updateReservedMemoryParameter
=== CONT  TestAccAWSElasticacheParameterGroup_Tags
=== CONT  TestAccAWSElasticacheParameterGroup_Description
=== CONT  TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_AllParameters
=== CONT  TestAccAWSElasticacheParameterGroup_switchReservedMemoryParameter
--- PASS: TestAccAWSElasticacheParameterGroup_Description (28.78s)
--- PASS: TestAccAWSElasticacheParameterGroup_basic (29.57s)
--- PASS: TestAccAWSElasticacheParameterGroup_UppercaseName (29.83s)
--- PASS: TestAccAWSElasticacheParameterGroup_addParameter (43.50s)
--- PASS: TestAccAWSElasticacheParameterGroup_removeAllParameters (43.79s)
--- PASS: TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_AllParameters (44.79s)
--- PASS: TestAccAWSElasticacheParameterGroup_updateReservedMemoryParameter (44.93s)
--- PASS: TestAccAWSElasticacheParameterGroup_switchReservedMemoryParameter (46.46s)
--- PASS: TestAccAWSElasticacheParameterGroup_removeReservedMemoryParameter_RemainingParameters (46.88s)
--- PASS: TestAccAWSElasticacheParameterGroup_Tags (61.55s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	65.095s

@ewbankkit
Copy link
Contributor

@pall-valmundsson Thanks for the contribution 🎉 👏.
Everything is in great shape.
I just added a CHANGELOG entry file and fixed up a couple of minor linter issues.

@ewbankkit ewbankkit merged commit 3ed94ed into hashicorp:main May 27, 2021
@github-actions github-actions bot added this to the v3.43.0 milestone May 27, 2021
@pall-valmundsson pall-valmundsson deleted the issue-19550 branch May 27, 2021 17:17
@pall-valmundsson
Copy link
Contributor Author

Thank you for an incredibly fast turnaround!

@ghost
Copy link

ghost commented Jun 1, 2021

This has been released in version 3.43.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!

@github-actions
Copy link

github-actions bot commented Jul 3, 2021

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 Jul 3, 2021
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. service/elasticache Issues and PRs that pertain to the elasticache service. size/M 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.

tags attribute support for aws_elasticache_parameter_group
2 participants