Skip to content

Commit

Permalink
Fix and enable tfproviderlint S023 check (#12781)
Browse files Browse the repository at this point in the history
  • Loading branch information
melamity authored Apr 15, 2020
1 parent e73ee3d commit 0c3c31f
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ lint:
-S019 \
-S020 \
-S021 \
-S023 \
-S024 \
-S025 \
-S026 \
Expand Down
1 change: 0 additions & 1 deletion aws/resource_aws_db_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ func resourceAwsDbInstance() *schema.Resource {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Elem: &schema.Schema{Type: schema.TypeString},
},

"auto_minor_version_upgrade": {
Expand Down
1 change: 0 additions & 1 deletion aws/resource_aws_db_instance_migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ func resourceAwsDbInstanceResourceV0() *schema.Resource {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Elem: &schema.Schema{Type: schema.TypeString},
},

"auto_minor_version_upgrade": {
Expand Down
1 change: 0 additions & 1 deletion aws/resource_aws_docdb_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ func resourceAwsDocDBCluster() *schema.Resource {
"snapshot_identifier": {
Type: schema.TypeString,
Optional: true,
Elem: &schema.Schema{Type: schema.TypeString},
},

"port": {
Expand Down
1 change: 0 additions & 1 deletion aws/resource_aws_neptune_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ func resourceAwsNeptuneCluster() *schema.Resource {
"snapshot_identifier": {
Type: schema.TypeString,
Optional: true,
Elem: &schema.Schema{Type: schema.TypeString},
},

"tags": tagsSchema(),
Expand Down
1 change: 0 additions & 1 deletion aws/resource_aws_rds_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ func resourceAwsRDSCluster() *schema.Resource {
"snapshot_identifier": {
Type: schema.TypeString,
Optional: true,
Elem: &schema.Schema{Type: schema.TypeString},
},

"port": {
Expand Down

0 comments on commit 0c3c31f

Please sign in to comment.