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

Refactor S3 Bucket Metric resource to use keyvaluetags package. #11963

Merged
merged 1 commit into from
Feb 10, 2020

Conversation

ewbankkit
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

Relates #10688.

Release note for CHANGELOG:

NONE

Output from acceptance testing:

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSS3BucketMetric_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSS3BucketMetric_ -timeout 120m
=== RUN   TestAccAWSS3BucketMetric_basic
=== PAUSE TestAccAWSS3BucketMetric_basic
=== RUN   TestAccAWSS3BucketMetric_WithEmptyFilter
=== PAUSE TestAccAWSS3BucketMetric_WithEmptyFilter
=== RUN   TestAccAWSS3BucketMetric_WithFilterPrefix
=== PAUSE TestAccAWSS3BucketMetric_WithFilterPrefix
=== RUN   TestAccAWSS3BucketMetric_WithFilterPrefixAndMultipleTags
=== PAUSE TestAccAWSS3BucketMetric_WithFilterPrefixAndMultipleTags
=== RUN   TestAccAWSS3BucketMetric_WithFilterPrefixAndSingleTag
=== PAUSE TestAccAWSS3BucketMetric_WithFilterPrefixAndSingleTag
=== RUN   TestAccAWSS3BucketMetric_WithFilterMultipleTags
=== PAUSE TestAccAWSS3BucketMetric_WithFilterMultipleTags
=== RUN   TestAccAWSS3BucketMetric_WithFilterSingleTag
=== PAUSE TestAccAWSS3BucketMetric_WithFilterSingleTag
=== CONT  TestAccAWSS3BucketMetric_basic
=== CONT  TestAccAWSS3BucketMetric_WithFilterPrefixAndSingleTag
=== CONT  TestAccAWSS3BucketMetric_WithFilterSingleTag
=== CONT  TestAccAWSS3BucketMetric_WithFilterMultipleTags
=== CONT  TestAccAWSS3BucketMetric_WithFilterPrefix
=== CONT  TestAccAWSS3BucketMetric_WithEmptyFilter
=== CONT  TestAccAWSS3BucketMetric_WithFilterPrefixAndMultipleTags
--- PASS: TestAccAWSS3BucketMetric_WithEmptyFilter (38.19s)
--- PASS: TestAccAWSS3BucketMetric_basic (40.86s)
--- PASS: TestAccAWSS3BucketMetric_WithFilterPrefixAndMultipleTags (65.30s)
--- PASS: TestAccAWSS3BucketMetric_WithFilterPrefixAndSingleTag (65.90s)
--- PASS: TestAccAWSS3BucketMetric_WithFilterSingleTag (65.91s)
--- PASS: TestAccAWSS3BucketMetric_WithFilterPrefix (65.95s)
--- PASS: TestAccAWSS3BucketMetric_WithFilterMultipleTags (66.20s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	66.254s

@ewbankkit ewbankkit requested a review from a team February 7, 2020 19:02
@ghost ghost added size/XS Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. service/s3 Issues and PRs that pertain to the s3 service. labels Feb 7, 2020
@gdavison gdavison removed the needs-triage Waiting for first response or review from a maintainer. label Feb 7, 2020
@gdavison gdavison self-assigned this Feb 7, 2020
Copy link
Contributor

@gdavison gdavison left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

--- PASS: TestExpandS3MetricsFilter (0.00s)
--- PASS: TestResourceAwsS3BucketMetricParseID (0.00s)
--- PASS: TestFlattenS3MetricsFilter (0.00s)
--- PASS: TestAccAWSS3BucketMetric_WithEmptyFilter (11.85s)
--- PASS: TestAccAWSS3BucketMetric_basic (12.18s)
--- PASS: TestAccAWSS3BucketMetric_WithFilterPrefix (18.20s)
--- PASS: TestAccAWSS3BucketMetric_WithFilterMultipleTags (18.56s)
--- PASS: TestAccAWSS3BucketMetric_WithFilterPrefixAndSingleTag (18.80s)
--- PASS: TestAccAWSS3BucketMetric_WithFilterPrefixAndMultipleTags (19.06s)
--- PASS: TestAccAWSS3BucketMetric_WithFilterSingleTag (19.21s)

@gdavison gdavison added this to the v2.49.0 milestone Feb 7, 2020
@gdavison gdavison merged commit 160c3bc into hashicorp:master Feb 10, 2020
@ewbankkit ewbankkit deleted the s3-metrics-keyvaluetags branch February 10, 2020 21:24
@ghost
Copy link

ghost commented Feb 14, 2020

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

@ghost
Copy link

ghost commented Mar 27, 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 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/s3 Issues and PRs that pertain to the s3 service. size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants