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/cloudtrail - add validations + tests #21882

Merged
merged 5 commits into from
Dec 2, 2021

Conversation

DrFaust92
Copy link
Collaborator

@DrFaust92 DrFaust92 commented Nov 23, 2021

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

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccCloudTrail_serial/Trail' PKG_NAME=internal/service/cloudtrail
 --- PASS: TestAccCloudTrail_serial/Trail/basic (238.57s)
        --- PASS: TestAccCloudTrail_serial/Trail/kmsKey (130.22s)
        --- PASS: TestAccCloudTrail_serial/Trail/tags (360.89s)
        --- PASS: TestAccCloudTrail_serial/Trail/eventSelectorExclude (336.68s)
        --- PASS: TestAccCloudTrail_serial/Trail/disappears (111.50s)
        --- PASS: TestAccCloudTrail_serial/Trail/multiRegion (307.64s)
        --- PASS: TestAccCloudTrail_serial/Trail/eventSelector (414.86s)
        --- PASS: TestAccCloudTrail_serial/Trail/eventSelectorDynamoDB (107.96s)
        --- PASS: TestAccCloudTrail_serial/Trail/insightSelector (406.08s)
        --- PASS: TestAccCloudTrail_serial/Trail/globalServiceEvents (125.86s)
        --- PASS: TestAccCloudTrail_serial/Trail/cloudwatch (340.35s)
        --- PASS: TestAccCloudTrail_serial/Trail/enableLogging (415.05s)
--- PASS: TestAccCloudTrail_serial/Trail/advancedEventSelector (238.94s)

@github-actions github-actions bot added service/cloudtrail Issues and PRs that pertain to the cloudtrail service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/XL Managed by automation to categorize the size of a PR. labels Nov 23, 2021
@DrFaust92 DrFaust92 changed the title r/cloudtrail - add validations + tests r/cloudtrail_trail - add validations + tests Nov 23, 2021
@DrFaust92 DrFaust92 changed the title r/cloudtrail_trail - add validations + tests r/cloudtrail - add validations + tests Nov 23, 2021
@DrFaust92 DrFaust92 added the enhancement Requests to existing resources that expand the functionality or scope. label Nov 23, 2021
@DrFaust92 DrFaust92 marked this pull request as ready for review November 24, 2021 08:27
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 🚀.

% make testacc TESTARGS='-run=TestAccCloudTrail_serial/Trail' PKG_NAME=internal/service/cloudtrail
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/cloudtrail/... -v -count 1 -parallel 20 -run=TestAccCloudTrail_serial/Trail -timeout 180m
=== RUN   TestAccCloudTrail_serial
=== RUN   TestAccCloudTrail_serial/Trail
=== RUN   TestAccCloudTrail_serial/Trail/basic
=== RUN   TestAccCloudTrail_serial/Trail/multiRegion
=== RUN   TestAccCloudTrail_serial/Trail/organization
    acctest.go:667: skipping tests; this AWS account must not be an existing member of an AWS Organization
=== RUN   TestAccCloudTrail_serial/Trail/tags
=== RUN   TestAccCloudTrail_serial/Trail/eventSelectorDynamoDB
=== RUN   TestAccCloudTrail_serial/Trail/advancedEventSelector
=== RUN   TestAccCloudTrail_serial/Trail/cloudwatch
=== RUN   TestAccCloudTrail_serial/Trail/eventSelector
=== RUN   TestAccCloudTrail_serial/Trail/disappears
=== RUN   TestAccCloudTrail_serial/Trail/enableLogging
=== RUN   TestAccCloudTrail_serial/Trail/globalServiceEvents
=== RUN   TestAccCloudTrail_serial/Trail/logValidation
=== RUN   TestAccCloudTrail_serial/Trail/kmsKey
=== RUN   TestAccCloudTrail_serial/Trail/eventSelectorExclude
=== RUN   TestAccCloudTrail_serial/Trail/insightSelector
--- PASS: TestAccCloudTrail_serial (935.50s)
    --- PASS: TestAccCloudTrail_serial/Trail (935.50s)
        --- PASS: TestAccCloudTrail_serial/Trail/basic (66.11s)
        --- PASS: TestAccCloudTrail_serial/Trail/multiRegion (84.92s)
        --- SKIP: TestAccCloudTrail_serial/Trail/organization (0.17s)
        --- PASS: TestAccCloudTrail_serial/Trail/tags (86.16s)
        --- PASS: TestAccCloudTrail_serial/Trail/eventSelectorDynamoDB (30.62s)
        --- PASS: TestAccCloudTrail_serial/Trail/advancedEventSelector (37.05s)
        --- PASS: TestAccCloudTrail_serial/Trail/cloudwatch (82.31s)
        --- PASS: TestAccCloudTrail_serial/Trail/eventSelector (127.38s)
        --- PASS: TestAccCloudTrail_serial/Trail/disappears (30.60s)
        --- PASS: TestAccCloudTrail_serial/Trail/enableLogging (48.95s)
        --- PASS: TestAccCloudTrail_serial/Trail/globalServiceEvents (34.71s)
        --- PASS: TestAccCloudTrail_serial/Trail/logValidation (63.84s)
        --- PASS: TestAccCloudTrail_serial/Trail/kmsKey (36.92s)
        --- PASS: TestAccCloudTrail_serial/Trail/eventSelectorExclude (89.23s)
        --- PASS: TestAccCloudTrail_serial/Trail/insightSelector (116.50s)

@ewbankkit
Copy link
Contributor

@DrFaust92 Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit a6721b1 into hashicorp:main Dec 2, 2021
@github-actions github-actions bot added this to the v3.69.0 milestone Dec 2, 2021
@DrFaust92 DrFaust92 deleted the r/cloudtrail_validations branch December 2, 2021 19:44
@github-actions
Copy link

This functionality has been released in v3.69.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!

@github-actions
Copy link

github-actions bot commented Jun 3, 2022

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 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/cloudtrail Issues and PRs that pertain to the cloudtrail 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.

2 participants