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

service/route53resolver: Remove deprecated (helper/schema.ResourceData).Partial() and (helper/schema.ResourceData).SetPartial() #12460

Merged
merged 1 commit into from
Apr 1, 2020

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Mar 19, 2020

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

Reference: #12083
Reference: #12087

Release note for CHANGELOG:

NONE

Previously:

aws/resource_aws_route53_resolver_endpoint.go:199:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_route53_resolver_endpoint.go:219:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_endpoint.go:264:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_endpoint.go:272:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_endpoint.go:275:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_route53_resolver_rule.go:191:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_route53_resolver_rule.go:220:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_rule.go:221:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_rule.go:222:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_rule.go:230:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_rule.go:233:2: R007: deprecated (schema.ResourceData).Partial

Output from acceptance testing:

--- PASS: TestAccAwsRoute53ResolverEndpoint_basicInbound (102.08s)
--- PASS: TestAccAwsRoute53ResolverEndpoint_updateOutbound (446.81s)
--- PASS: TestAccAwsRoute53ResolverRule_basic (39.84s)
--- PASS: TestAccAwsRoute53ResolverRule_forward (316.33s)
--- PASS: TestAccAwsRoute53ResolverRule_forwardEndpointRecreate (448.03s)
--- PASS: TestAccAwsRoute53ResolverRule_tags (66.35s)
--- PASS: TestAccAwsRoute53ResolverRule_updateName (62.64s)

…a).Partial() and (helper/schema.ResourceData).SetPartial()

Reference: #12083
Reference: #12087

Previously:

```
aws/resource_aws_route53_resolver_endpoint.go:199:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_route53_resolver_endpoint.go:219:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_endpoint.go:264:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_endpoint.go:272:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_endpoint.go:275:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_route53_resolver_rule.go:191:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_route53_resolver_rule.go:220:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_rule.go:221:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_rule.go:222:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_rule.go:230:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_route53_resolver_rule.go:233:2: R007: deprecated (schema.ResourceData).Partial
```

Output from acceptance testing:

```
--- PASS: TestAccAwsRoute53ResolverEndpoint_basicInbound (102.08s)
--- PASS: TestAccAwsRoute53ResolverEndpoint_updateOutbound (446.81s)
--- PASS: TestAccAwsRoute53ResolverRule_basic (39.84s)
--- PASS: TestAccAwsRoute53ResolverRule_forward (316.33s)
--- PASS: TestAccAwsRoute53ResolverRule_forwardEndpointRecreate (448.03s)
--- PASS: TestAccAwsRoute53ResolverRule_tags (66.35s)
--- PASS: TestAccAwsRoute53ResolverRule_updateName (62.64s)
```
@bflad bflad added the technical-debt Addresses areas of the codebase that need refactoring or redesign. label Mar 19, 2020
@bflad bflad requested a review from a team March 19, 2020 07:09
@ghost ghost added needs-triage Waiting for first response or review from a maintainer. size/XS Managed by automation to categorize the size of a PR. service/route53resolver Issues and PRs that pertain to the route53resolver service. labels Mar 19, 2020
@bflad bflad removed the needs-triage Waiting for first response or review from a maintainer. label Mar 19, 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 🚀

--- FAIL: TestAccAwsRoute53ResolverEndpoint_basicInbound (19.87s)
--- PASS: TestAccAwsRoute53ResolverRule_basic (31.32s)
--- PASS: TestAccAwsRoute53ResolverRule_updateName (49.13s)
--- PASS: TestAccAwsRoute53ResolverRule_tags (55.09s)
--- FAIL: TestAccAwsRoute53ResolverRule_forwardEndpointRecreate (184.53s)
--- PASS: TestAccAwsRoute53ResolverRule_forward (224.63s)
--- PASS: TestAccAwsRoute53ResolverEndpoint_updateOutbound (342.61s)

Test failures are unrelated to this change:

  • TestAccAwsRoute53ResolverEndpoint_basicInbound
  • TestAccAwsRoute53ResolverRule_forwardEndpointRecreate

@bflad bflad added this to the v2.56.0 milestone Apr 1, 2020
@bflad bflad merged commit 21f1ff5 into master Apr 1, 2020
@bflad bflad deleted the td-remove-partial-route53resolver branch April 1, 2020 00:12
@ghost
Copy link

ghost commented Apr 3, 2020

This has been released in version 2.56.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 May 1, 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 May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/route53resolver Issues and PRs that pertain to the route53resolver service. size/XS Managed by automation to categorize the size of a PR. technical-debt Addresses areas of the codebase that need refactoring or redesign.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants