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

Fix and enable tfproviderlint S023 check #12781

Merged
merged 2 commits into from
Apr 15, 2020
Merged

Fix and enable tfproviderlint S023 check #12781

merged 2 commits into from
Apr 15, 2020

Conversation

melamity
Copy link
Contributor

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

Closes #11867

Release note for CHANGELOG:

NONE

Output from acceptance testing:

@ghost ghost added size/XS Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. service/docdb Issues and PRs that pertain to the docdb service. service/neptune Issues and PRs that pertain to the neptune service. service/rds Issues and PRs that pertain to the rds service. labels Apr 11, 2020
@bflad bflad removed the needs-triage Waiting for first response or review from a maintainer. label Apr 12, 2020
@bflad bflad self-assigned this Apr 12, 2020
@melamity melamity marked this pull request as ready for review April 14, 2020 09:10
@melamity melamity requested a review from a team April 14, 2020 09:10
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.

Looks great, thanks @megubyte 🚀

Output from acceptance testing:

--- PASS: TestAccAWSDBInstance_AllowMajorVersionUpgrade (453.58s)
--- PASS: TestAccAWSDBInstance_basic (508.56s)
--- PASS: TestAccAWSDBInstance_cloudwatchLogsExportConfiguration (558.50s)
--- PASS: TestAccAWSDBInstance_cloudwatchLogsExportConfigurationUpdate (780.54s)
--- PASS: TestAccAWSDBInstance_DbSubnetGroupName (451.72s)
--- PASS: TestAccAWSDBInstance_DbSubnetGroupName_VpcSecurityGroupIds (523.08s)
--- PASS: TestAccAWSDBInstance_DeletionProtection (524.15s)
--- PASS: TestAccAWSDBInstance_EnabledCloudwatchLogsExports_MSSQL (808.29s)
--- PASS: TestAccAWSDBInstance_EnabledCloudwatchLogsExports_Oracle (696.99s)
--- PASS: TestAccAWSDBInstance_EnabledCloudwatchLogsExports_Postgresql (494.32s)
--- PASS: TestAccAWSDBInstance_FinalSnapshotIdentifier (780.62s)
--- PASS: TestAccAWSDBInstance_FinalSnapshotIdentifier_SkipFinalSnapshot (821.57s)
--- PASS: TestAccAWSDBInstance_generatedName (497.50s)
--- PASS: TestAccAWSDBInstance_iamAuth (497.17s)
--- PASS: TestAccAWSDBInstance_IsAlreadyBeingDeleted (447.98s)
--- PASS: TestAccAWSDBInstance_kmsKey (515.93s)
--- PASS: TestAccAWSDBInstance_MaxAllocatedStorage (585.20s)
--- PASS: TestAccAWSDBInstance_MinorVersion (433.13s)
--- PASS: TestAccAWSDBInstance_MonitoringInterval (1128.37s)
--- PASS: TestAccAWSDBInstance_MonitoringRoleArn_EnabledToDisabled (738.54s)
--- PASS: TestAccAWSDBInstance_MonitoringRoleArn_EnabledToRemoved (654.67s)
--- PASS: TestAccAWSDBInstance_MonitoringRoleArn_RemovedToEnabled (663.44s)
--- PASS: TestAccAWSDBInstance_MSSQL_Domain (3326.66s)
--- PASS: TestAccAWSDBInstance_MSSQL_DomainSnapshotRestore (2891.92s)
--- PASS: TestAccAWSDBInstance_MSSQL_TZ (1839.82s)
--- PASS: TestAccAWSDBInstance_MySQL_SnapshotRestoreWithEngineVersion (1820.78s)
--- PASS: TestAccAWSDBInstance_namePrefix (477.29s)
--- PASS: TestAccAWSDBInstance_NoDeleteAutomatedBackups (706.03s)
--- PASS: TestAccAWSDBInstance_optionGroup (548.01s)
--- PASS: TestAccAWSDBInstance_Password (551.49s)
--- PASS: TestAccAWSDBInstance_portUpdate (580.07s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb (1520.01s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_AllocatedStorage (1763.15s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_AllowMajorVersionUpgrade (1368.11s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_AutoMinorVersionUpgrade (1406.90s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_AvailabilityZone (1608.78s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_BackupRetentionPeriod (1707.68s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_BackupWindow (1395.07s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_CACertificateIdentifier (1526.53s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName (2192.46s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_DbSubnetGroupName_VpcSecurityGroupIds (2206.00s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_IamDatabaseAuthenticationEnabled (1556.49s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_MaintenanceWindow (1425.43s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_MaxAllocatedStorage (1455.53s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_Monitoring (1832.75s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_MultiAZ (2205.14s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_ParameterGroupName (1850.58s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_PerformanceInsightsEnabled (1526.67s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_Port (1697.90s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_VpcSecurityGroupIds (1477.92s)
--- PASS: TestAccAWSDBInstance_separate_iops_update (772.16s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier (1343.32s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_AllocatedStorage (1505.51s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_AllowMajorVersionUpgrade (2022.56s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_AutoMinorVersionUpgrade (1282.63s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_AvailabilityZone (1107.25s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_BackupRetentionPeriod (1334.42s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_BackupRetentionPeriod_Unset (1721.04s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_BackupWindow (1172.78s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName (1638.84s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_DbSubnetGroupName_VpcSecurityGroupIds (1295.46s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_DeletionProtection (1312.17s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_IamDatabaseAuthenticationEnabled (1314.07s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_Io1Storage (1546.12s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_MaintenanceWindow (1465.97s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_MaxAllocatedStorage (1152.78s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_Monitoring (1386.00s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_MultiAZ (1919.42s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_MultiAZ_SQLServer (3825.32s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_ParameterGroupName (1343.13s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_PerformanceInsightsEnabled (1456.09s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_Port (1125.67s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_Tags (1242.72s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_VpcSecurityGroupIds (1265.61s)
--- PASS: TestAccAWSDBInstance_SnapshotIdentifier_VpcSecurityGroupIds_Tags (1143.87s)
--- PASS: TestAccAWSDBInstance_subnetGroup (1005.08s)

--- PASS: TestAccAWSDocDBCluster_backupsUpdate (175.21s)
--- PASS: TestAccAWSDocDBCluster_basic (129.82s)
--- PASS: TestAccAWSDocDBCluster_deleteProtection (225.97s)
--- PASS: TestAccAWSDocDBCluster_encrypted (119.67s)
--- PASS: TestAccAWSDocDBCluster_generatedName (119.63s)
--- PASS: TestAccAWSDocDBCluster_kmsKey (138.52s)
--- PASS: TestAccAWSDocDBCluster_missingUserNameCausesError (3.52s)
--- PASS: TestAccAWSDocDBCluster_namePrefix (130.14s)
--- PASS: TestAccAWSDocDBCluster_Port (218.02s)
--- PASS: TestAccAWSDocDBCluster_takeFinalSnapshot (159.98s)
--- PASS: TestAccAWSDocDBCluster_updateCloudwatchLogsExports (175.36s)
--- PASS: TestAccAWSDocDBCluster_updateTags (135.32s)

--- PASS: TestAccAWSNeptuneCluster_backupsUpdate (126.28s)
--- PASS: TestAccAWSNeptuneCluster_basic (110.45s)
--- PASS: TestAccAWSNeptuneCluster_deleteProtection (152.69s)
--- PASS: TestAccAWSNeptuneCluster_encrypted (131.10s)
--- PASS: TestAccAWSNeptuneCluster_iamAuth (110.55s)
--- PASS: TestAccAWSNeptuneCluster_kmsKey (151.11s)
--- PASS: TestAccAWSNeptuneCluster_namePrefix (130.06s)
--- PASS: TestAccAWSNeptuneCluster_tags (122.06s)
--- PASS: TestAccAWSNeptuneCluster_takeFinalSnapshot (191.27s)
--- PASS: TestAccAWSNeptuneCluster_updateCloudwatchLogsExports (152.74s)
--- PASS: TestAccAWSNeptuneCluster_updateIamRoles (127.73s)

--- PASS: TestAccAWSRDSCluster_AvailabilityZones (120.84s)
--- PASS: TestAccAWSRDSCluster_BacktrackWindow (145.23s)
--- PASS: TestAccAWSRDSCluster_backupsUpdate (155.69s)
--- PASS: TestAccAWSRDSCluster_basic (119.87s)
--- PASS: TestAccAWSRDSCluster_ClusterIdentifierPrefix (129.78s)
--- PASS: TestAccAWSRDSCluster_copyTagsToSnapshot (221.33s)
--- PASS: TestAccAWSRDSCluster_DbSubnetGroupName (134.34s)
--- PASS: TestAccAWSRDSCluster_DeletionProtection (155.49s)
--- PASS: TestAccAWSRDSCluster_EnabledCloudwatchLogsExports (308.46s)
--- PASS: TestAccAWSRDSCluster_EnableHttpEndpoint (359.17s)
--- PASS: TestAccAWSRDSCluster_encrypted (120.05s)
--- PASS: TestAccAWSRDSCluster_EncryptedCrossRegionReplication (1571.06s)
--- PASS: TestAccAWSRDSCluster_EngineMode (410.96s)
--- PASS: TestAccAWSRDSCluster_EngineMode_Global (130.80s)
--- PASS: TestAccAWSRDSCluster_EngineMode_Multimaster (124.18s)
--- PASS: TestAccAWSRDSCluster_EngineMode_ParallelQuery (150.64s)
--- PASS: TestAccAWSRDSCluster_EngineVersion (122.46s)
--- PASS: TestAccAWSRDSCluster_EngineVersionWithPrimaryInstance (1156.86s)
--- PASS: TestAccAWSRDSCluster_generatedName (130.03s)
--- PASS: TestAccAWSRDSCluster_GlobalClusterIdentifier (125.38s)
--- PASS: TestAccAWSRDSCluster_GlobalClusterIdentifier_Add (135.57s)
--- PASS: TestAccAWSRDSCluster_GlobalClusterIdentifier_Remove (130.89s)
--- PASS: TestAccAWSRDSCluster_GlobalClusterIdentifier_Update (128.20s)
--- PASS: TestAccAWSRDSCluster_iamAuth (99.68s)
--- PASS: TestAccAWSRDSCluster_kmsKey (139.41s)
--- PASS: TestAccAWSRDSCluster_missingUserNameCausesError (3.61s)
--- PASS: TestAccAWSRDSCluster_Port (226.99s)
--- PASS: TestAccAWSRDSCluster_ScalingConfiguration (359.07s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier (337.79s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_DeletionProtection (364.69s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_EncryptedRestore (408.58s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_EngineMode_ParallelQuery (398.21s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_EngineMode_Provisioned (347.24s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_EngineVersion_Different (348.02s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_EngineVersion_Equal (347.50s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_MasterPassword (327.35s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_MasterUsername (327.75s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_PreferredBackupWindow (327.71s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_PreferredMaintenanceWindow (347.66s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_Tags (338.15s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_VpcSecurityGroupIds (358.81s)
--- PASS: TestAccAWSRDSCluster_SnapshotIdentifier_VpcSecurityGroupIds_Tags (319.25s)
--- PASS: TestAccAWSRDSCluster_Tags (110.62s)
--- PASS: TestAccAWSRDSCluster_takeFinalSnapshot (140.47s)
--- PASS: TestAccAWSRDSCluster_updateIamRoles (137.07s)

@bflad bflad added the technical-debt Addresses areas of the codebase that need refactoring or redesign. label Apr 15, 2020
@bflad bflad added this to the v2.58.0 milestone Apr 15, 2020
@bflad bflad merged commit 0c3c31f into hashicorp:master Apr 15, 2020
@melamity melamity deleted the t-S023-linter-fixes branch April 15, 2020 09:02
@ghost
Copy link

ghost commented Apr 17, 2020

This has been released in version 2.58.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 15, 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 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/docdb Issues and PRs that pertain to the docdb service. service/neptune Issues and PRs that pertain to the neptune service. service/rds Issues and PRs that pertain to the rds 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.

Fix and enable tfproviderlint S023 check: schema should not include Elem with incompatible Type
2 participants