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_ebs_snapshot - refactor to use keyvaluetags + update tags #10935

Merged
merged 6 commits into from
Nov 21, 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:

- resource/resource_aws_ebs_snapshot: can now update tags

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSEBSSnapshot_'
=== RUN   TestAccAWSEBSSnapshot_basic
=== PAUSE TestAccAWSEBSSnapshot_basic
=== CONT  TestAccAWSEBSSnapshot_basic
--- PASS: TestAccAWSEBSSnapshot_basic (171.58s)
=== RUN   TestAccAWSEBSSnapshot_tags
=== PAUSE TestAccAWSEBSSnapshot_tags
=== CONT  TestAccAWSEBSSnapshot_tags
--- PASS: TestAccAWSEBSSnapshot_tags (144.08s)
=== RUN   TestAccAWSEBSSnapshot_withDescription
=== PAUSE TestAccAWSEBSSnapshot_withDescription
=== CONT  TestAccAWSEBSSnapshot_withDescription
--- PASS: TestAccAWSEBSSnapshot_withDescription (73.11s)
=== RUN   TestAccAWSEBSSnapshot_withKms
=== PAUSE TestAccAWSEBSSnapshot_withKms
=== CONT  TestAccAWSEBSSnapshot_withKms
--- PASS: TestAccAWSEBSSnapshot_withKms (186.80s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	212.135s

...

This might be considered a breaking change

@DrFaust92 DrFaust92 requested a review from a team November 19, 2019 18:58
@ghost ghost added needs-triage Waiting for first response or review from a maintainer. 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 19, 2019
@bflad bflad self-assigned this Nov 21, 2019
@bflad bflad added 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 21, 2019
@bflad bflad added this to the v2.40.0 milestone Nov 21, 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 @DrFaust92 🚀

Output from acceptance testing in AWS Commercial:

--- PASS: TestAccAWSEBSSnapshot_tags (45.18s)
--- PASS: TestAccAWSEBSSnapshot_withDescription (50.53s)
--- PASS: TestAccAWSEBSSnapshot_withKms (54.61s)
--- PASS: TestAccAWSEBSSnapshot_basic (56.06s)

Output from acceptance testing in AWS GovCloud (US) (unrelated failure due to hardcoded AWS Commerical ARN):

--- PASS: TestAccAWSEBSSnapshot_withDescription (30.50s)
--- PASS: TestAccAWSEBSSnapshot_tags (33.01s)
--- PASS: TestAccAWSEBSSnapshot_basic (47.10s)
--- FAIL: TestAccAWSEBSSnapshot_withKms (48.82s)

@bflad bflad merged commit ee5a354 into hashicorp:master Nov 21, 2019
bflad added a commit that referenced this pull request Nov 21, 2019
pixelpogo pushed a commit to babbel/terraform-provider-aws that referenced this pull request Nov 22, 2019
…gs` updates (hashicorp#10935)

Output from acceptance testing in AWS Commercial:

```
--- PASS: TestAccAWSEBSSnapshot_tags (45.18s)
--- PASS: TestAccAWSEBSSnapshot_withDescription (50.53s)
--- PASS: TestAccAWSEBSSnapshot_withKms (54.61s)
--- PASS: TestAccAWSEBSSnapshot_basic (56.06s)
```

Output from acceptance testing in AWS GovCloud (US) (unrelated failure due to hardcoded AWS Commerical ARN):

```
--- PASS: TestAccAWSEBSSnapshot_withDescription (30.50s)
--- PASS: TestAccAWSEBSSnapshot_tags (33.01s)
--- PASS: TestAccAWSEBSSnapshot_basic (47.10s)
--- FAIL: TestAccAWSEBSSnapshot_withKms (48.82s)
```
pixelpogo pushed a commit to babbel/terraform-provider-aws that referenced this pull request Nov 22, 2019
@ghost
Copy link

ghost commented Nov 27, 2019

This has been released in version 2.40.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 r-ebs-snapshot-tags-keyvaluetags branch December 24, 2019 17:11
@ghost
Copy link

ghost commented Dec 25, 2019

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 Dec 25, 2019
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/ec2 Issues and PRs that pertain to the ec2 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.

2 participants