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_cloudtrail - support Tag on create #10818

Merged
merged 11 commits into from
Nov 16, 2019

Conversation

DrFaust92
Copy link
Collaborator

@DrFaust92 DrFaust92 commented Nov 9, 2019

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

Closes #10730 , Relates #10688

Release note for CHANGELOG:

resource/aws_cloudtrail: Support tag-on-create

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSCloudTrail'
=== RUN   TestAccAWSCloudTrail
--- PASS: TestAccAWSCloudTrail (1697.63s)
=== RUN   TestAccAWSCloudTrail/Trail
    --- PASS: TestAccAWSCloudTrail/Trail (1697.63s)
=== RUN   TestAccAWSCloudTrail/Trail/basic
        --- PASS: TestAccAWSCloudTrail/Trail/basic (182.20s)
=== RUN   TestAccAWSCloudTrail/Trail/enableLogging
        --- PASS: TestAccAWSCloudTrail/Trail/enableLogging (247.37s)
=== RUN   TestAccAWSCloudTrail/Trail/includeGlobalServiceEvents
        --- PASS: TestAccAWSCloudTrail/Trail/includeGlobalServiceEvents (108.22s)
=== RUN   TestAccAWSCloudTrail/Trail/kmsKey
        --- PASS: TestAccAWSCloudTrail/Trail/kmsKey (131.58s)
=== RUN   TestAccAWSCloudTrail/Trail/tags
        --- PASS: TestAccAWSCloudTrail/Trail/tags (235.28s)
=== RUN   TestAccAWSCloudTrail/Trail/cloudwatch
        --- PASS: TestAccAWSCloudTrail/Trail/cloudwatch (190.19s)
=== RUN   TestAccAWSCloudTrail/Trail/isMultiRegion
        --- PASS: TestAccAWSCloudTrail/Trail/isMultiRegion (235.34s)
=== RUN   TestAccAWSCloudTrail/Trail/isOrganization
        --- SKIP: TestAccAWSCloudTrail/Trail/isOrganization (3.68s)
            provider_test.go:275: skipping tests; this AWS account must not be an existing member of an AWS Organization

Test ignored.
=== RUN   TestAccAWSCloudTrail/Trail/logValidation
        --- PASS: TestAccAWSCloudTrail/Trail/logValidation (177.57s)
=== RUN   TestAccAWSCloudTrail/Trail/eventSelector
        --- PASS: TestAccAWSCloudTrail/Trail/eventSelector (186.21s)

...

@ghost ghost added size/XL Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. service/cloudtrail Issues and PRs that pertain to the cloudtrail service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Nov 9, 2019
@DrFaust92 DrFaust92 marked this pull request as ready for review November 9, 2019 11:54
@DrFaust92 DrFaust92 requested a review from a team November 9, 2019 11:54
@gdavison gdavison self-assigned this Nov 16, 2019
@gdavison gdavison added technical-debt Addresses areas of the codebase that need refactoring or redesign. enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Nov 16, 2019
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.

Output from acceptance testing:

--- PASS: TestAccAWSCloudTrailServiceAccount_Region (8.13s)
--- PASS: TestAccAWSCloudTrailServiceAccount_basic (8.14s)
--- PASS: TestAccAWSCloudTrail (218.56s)
    --- PASS: TestAccAWSCloudTrail/Trail (218.56s)
        --- PASS: TestAccAWSCloudTrail/Trail/cloudwatch (45.65s)
        --- PASS: TestAccAWSCloudTrail/Trail/enableLogging (22.49s)
        --- PASS: TestAccAWSCloudTrail/Trail/isMultiRegion (22.28s)
        --- SKIP: TestAccAWSCloudTrail/Trail/isOrganization (0.97s)
            provider_test.go:287: skipping tests; this AWS account must not be an existing member of an AWS Organization
        --- PASS: TestAccAWSCloudTrail/Trail/kmsKey (28.80s)
        --- PASS: TestAccAWSCloudTrail/Trail/basic (15.95s)
        --- PASS: TestAccAWSCloudTrail/Trail/includeGlobalServiceEvents (11.16s)
        --- PASS: TestAccAWSCloudTrail/Trail/logValidation (16.18s)
        --- PASS: TestAccAWSCloudTrail/Trail/tags (22.42s)
        --- PASS: TestAccAWSCloudTrail/Trail/eventSelector (32.65s)

@gdavison gdavison added this to the v2.37.0 milestone Nov 16, 2019
@gdavison gdavison merged commit 03ede95 into hashicorp:master Nov 16, 2019
gdavison added a commit that referenced this pull request Nov 16, 2019
@gdavison gdavison removed their assignment Nov 16, 2019
@DrFaust92 DrFaust92 deleted the cloudtrail-keyvalue-tags branch November 16, 2019 06:32
@ghost
Copy link

ghost commented Nov 18, 2019

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

r/aws_cloudtrail: Tag on create
2 participants