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/neptune: Remove deprecated (helper/schema.ResourceData).Partial() and (helper/schema.ResourceData).SetPartial() #12458

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_neptune_cluster.go:597:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster.go:684:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_instance.go:384:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_instance.go:390:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_instance.go:396:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_instance.go:402:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_instance.go:451:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_parameter_group.go:185:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_cluster_parameter_group.go:226:4: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_parameter_group.go:237:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_parameter_group.go:240:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_event_subscription.go:209:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_event_subscription.go:265:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_event_subscription.go:266:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_event_subscription.go:267:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_event_subscription.go:268:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_event_subscription.go:278:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_event_subscription.go:320:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_event_subscription.go:323:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_parameter_group.go:100:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_parameter_group.go:101:2: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_parameter_group.go:102:2: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_parameter_group.go:103:2: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_parameter_group.go:104:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_parameter_group.go:181:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_parameter_group.go:259:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_parameter_group.go:269:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_parameter_group.go:272:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_subnet_group.go:195:3: R008: deprecated (schema.ResourceData).SetPartial

Output from acceptance testing:

--- PASS: TestAccAWSNeptuneCluster_backupsUpdate (297.92s)
--- PASS: TestAccAWSNeptuneCluster_basic (168.78s)
--- PASS: TestAccAWSNeptuneCluster_deleteProtection (212.60s)
--- PASS: TestAccAWSNeptuneCluster_encrypted (175.61s)
--- PASS: TestAccAWSNeptuneCluster_iamAuth (193.62s)
--- PASS: TestAccAWSNeptuneCluster_kmsKey (195.57s)
--- PASS: TestAccAWSNeptuneCluster_namePrefix (154.44s)
--- PASS: TestAccAWSNeptuneCluster_tags (209.12s)
--- PASS: TestAccAWSNeptuneCluster_takeFinalSnapshot (254.53s)
--- PASS: TestAccAWSNeptuneCluster_updateCloudwatchLogsExports (233.15s)
--- PASS: TestAccAWSNeptuneCluster_updateIamRoles (195.20s)

--- PASS: TestAccAWSNeptuneClusterInstance_basic (1755.23s)
--- PASS: TestAccAWSNeptuneClusterInstance_generatedName (785.56s)
--- PASS: TestAccAWSNeptuneClusterInstance_kmsKey (835.57s)
--- PASS: TestAccAWSNeptuneClusterInstance_namePrefix (807.49s)
--- PASS: TestAccAWSNeptuneClusterInstance_withaz (925.05s)
--- PASS: TestAccAWSNeptuneClusterInstance_withSubnetGroup (783.88s)

--- PASS: TestAccAWSNeptuneClusterParameterGroup_basic (17.40s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_Description (17.46s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_generatedName (17.68s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_namePrefix (20.77s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_Parameter (31.24s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_Tags (64.82s)

--- PASS: TestAccAWSNeptuneEventSubscription_basic (150.00s)
--- PASS: TestAccAWSNeptuneEventSubscription_withCategories (124.64s)
--- PASS: TestAccAWSNeptuneEventSubscription_withPrefix (123.58s)
--- PASS: TestAccAWSNeptuneEventSubscription_withSourceIds (97.81s)

--- PASS: TestAccAWSNeptuneParameterGroup_basic (28.51s)
--- PASS: TestAccAWSNeptuneParameterGroup_Description (22.30s)
--- PASS: TestAccAWSNeptuneParameterGroup_Parameter (114.91s)
--- PASS: TestAccAWSNeptuneParameterGroup_Tags (60.91s)

--- PASS: TestAccAWSNeptuneSubnetGroup_basic (46.02s)
--- PASS: TestAccAWSNeptuneSubnetGroup_generatedName (49.96s)
--- PASS: TestAccAWSNeptuneSubnetGroup_namePrefix (48.39s)
--- PASS: TestAccAWSNeptuneSubnetGroup_updateDescription (76.13s)

…al() and (helper/schema.ResourceData).SetPartial()

Reference: #12083
Reference: #12087

Previously:

```
aws/resource_aws_neptune_cluster.go:597:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster.go:684:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_instance.go:384:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_instance.go:390:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_instance.go:396:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_instance.go:402:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_instance.go:451:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_parameter_group.go:185:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_cluster_parameter_group.go:226:4: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_parameter_group.go:237:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_cluster_parameter_group.go:240:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_event_subscription.go:209:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_event_subscription.go:265:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_event_subscription.go:266:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_event_subscription.go:267:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_event_subscription.go:268:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_event_subscription.go:278:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_event_subscription.go:320:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_event_subscription.go:323:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_parameter_group.go:100:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_parameter_group.go:101:2: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_parameter_group.go:102:2: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_parameter_group.go:103:2: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_parameter_group.go:104:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_parameter_group.go:181:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_parameter_group.go:259:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_parameter_group.go:269:3: R008: deprecated (schema.ResourceData).SetPartial
aws/resource_aws_neptune_parameter_group.go:272:2: R007: deprecated (schema.ResourceData).Partial
aws/resource_aws_neptune_subnet_group.go:195:3: R008: deprecated (schema.ResourceData).SetPartial
```

Output from acceptance testing:

```
--- PASS: TestAccAWSNeptuneCluster_backupsUpdate (297.92s)
--- PASS: TestAccAWSNeptuneCluster_basic (168.78s)
--- PASS: TestAccAWSNeptuneCluster_deleteProtection (212.60s)
--- PASS: TestAccAWSNeptuneCluster_encrypted (175.61s)
--- PASS: TestAccAWSNeptuneCluster_iamAuth (193.62s)
--- PASS: TestAccAWSNeptuneCluster_kmsKey (195.57s)
--- PASS: TestAccAWSNeptuneCluster_namePrefix (154.44s)
--- PASS: TestAccAWSNeptuneCluster_tags (209.12s)
--- PASS: TestAccAWSNeptuneCluster_takeFinalSnapshot (254.53s)
--- PASS: TestAccAWSNeptuneCluster_updateCloudwatchLogsExports (233.15s)
--- PASS: TestAccAWSNeptuneCluster_updateIamRoles (195.20s)

--- PASS: TestAccAWSNeptuneClusterInstance_basic (1755.23s)
--- PASS: TestAccAWSNeptuneClusterInstance_generatedName (785.56s)
--- PASS: TestAccAWSNeptuneClusterInstance_kmsKey (835.57s)
--- PASS: TestAccAWSNeptuneClusterInstance_namePrefix (807.49s)
--- PASS: TestAccAWSNeptuneClusterInstance_withaz (925.05s)
--- PASS: TestAccAWSNeptuneClusterInstance_withSubnetGroup (783.88s)

--- PASS: TestAccAWSNeptuneClusterParameterGroup_basic (17.40s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_Description (17.46s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_generatedName (17.68s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_namePrefix (20.77s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_Parameter (31.24s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_Tags (64.82s)

--- PASS: TestAccAWSNeptuneEventSubscription_basic (150.00s)
--- PASS: TestAccAWSNeptuneEventSubscription_withCategories (124.64s)
--- PASS: TestAccAWSNeptuneEventSubscription_withPrefix (123.58s)
--- PASS: TestAccAWSNeptuneEventSubscription_withSourceIds (97.81s)

--- PASS: TestAccAWSNeptuneParameterGroup_basic (28.51s)
--- PASS: TestAccAWSNeptuneParameterGroup_Description (22.30s)
--- PASS: TestAccAWSNeptuneParameterGroup_Parameter (114.91s)
--- PASS: TestAccAWSNeptuneParameterGroup_Tags (60.91s)

--- PASS: TestAccAWSNeptuneSubnetGroup_basic (46.02s)
--- PASS: TestAccAWSNeptuneSubnetGroup_generatedName (49.96s)
--- PASS: TestAccAWSNeptuneSubnetGroup_namePrefix (48.39s)
--- PASS: TestAccAWSNeptuneSubnetGroup_updateDescription (76.13s)
```
@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 06:20
@ghost ghost added size/S Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. service/neptune Issues and PRs that pertain to the neptune 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 🚀

--- PASS: TestAccAWSNeptuneClusterParameterGroup_generatedName (11.50s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_Description (12.29s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_basic (12.28s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_Parameter (19.65s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_namePrefix (22.63s)
--- PASS: TestAccAWSNeptuneClusterParameterGroup_Tags (24.98s)
--- PASS: TestAccAWSNeptuneEventSubscription_withPrefix (68.40s)
--- PASS: TestAccAWSNeptuneEventSubscription_withSourceIds (85.09s)
--- PASS: TestAccAWSNeptuneEventSubscription_basic (104.13s)
--- PASS: TestAccAWSNeptuneParameterGroup_basic (14.91s)
--- PASS: TestAccAWSNeptuneCluster_basic (125.66s)
--- PASS: TestAccAWSNeptuneParameterGroup_Description (8.28s)
--- PASS: TestAccAWSNeptuneCluster_iamAuth (121.90s)
--- PASS: TestAccAWSNeptuneCluster_backupsUpdate (134.96s)
--- PASS: TestAccAWSNeptuneParameterGroup_Parameter (16.90s)
--- PASS: TestAccAWSNeptuneSubnetGroup_basic (11.36s)
--- PASS: TestAccAWSNeptuneParameterGroup_Tags (19.16s)
--- PASS: TestAccAWSNeptuneSubnetGroup_namePrefix (12.07s)
--- PASS: TestAccAWSNeptuneSubnetGroup_generatedName (11.29s)
--- PASS: TestAccAWSNeptuneCluster_namePrefix (151.47s)
--- PASS: TestAccAWSNeptuneSubnetGroup_updateDescription (17.73s)
--- PASS: TestAccAWSNeptuneCluster_kmsKey (172.91s)
--- PASS: TestAccAWSNeptuneCluster_tags (174.13s)
--- PASS: TestAccAWSNeptuneCluster_updateIamRoles (174.17s)
--- PASS: TestAccAWSNeptuneCluster_encrypted (175.88s)
--- PASS: TestAccAWSNeptuneCluster_deleteProtection (165.30s)
--- PASS: TestAccAWSNeptuneCluster_updateCloudwatchLogsExports (177.76s)
--- PASS: TestAccAWSNeptuneEventSubscription_withCategories (104.66s)
--- PASS: TestAccAWSNeptuneCluster_takeFinalSnapshot (214.55s)
--- PASS: TestAccAWSNeptuneClusterInstance_withSubnetGroup (735.98s)
--- PASS: TestAccAWSNeptuneClusterInstance_generatedName (764.34s)
--- PASS: TestAccAWSNeptuneClusterInstance_namePrefix (803.85s)
--- PASS: TestAccAWSNeptuneClusterInstance_kmsKey (823.50s)
--- PASS: TestAccAWSNeptuneClusterInstance_withaz (852.22s)
--- PASS: TestAccAWSNeptuneClusterInstance_basic (1636.45s)

@bflad bflad added this to the v2.56.0 milestone Apr 1, 2020
@bflad bflad merged commit 100e6e2 into master Apr 1, 2020
@bflad bflad deleted the td-remove-partial-neptune branch April 1, 2020 00:11
@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/neptune Issues and PRs that pertain to the neptune service. size/S 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