Skip to content

Commit

Permalink
Merge pull request #15 from invidian/terraform-std-migration
Browse files Browse the repository at this point in the history
Migrate to Terraform Plugin SDK and add v0.2.1 changelog
  • Loading branch information
invidian committed Aug 18, 2020
2 parents eda6a1d + 61de865 commit 504e91e
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 307 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.1] - 2020-08.18

### Changed

- Migrated to Terraform Plugin SDK

## [0.2.0] - 2020-08-18

### Added
Expand Down
17 changes: 11 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,33 @@ require (
cloud.google.com/go v0.63.0 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/apparentlymart/go-cidr v1.1.0 // indirect
github.com/aws/aws-sdk-go v1.34.5 // indirect
github.com/bmatcuk/doublestar v1.3.2 // indirect
github.com/aws/aws-sdk-go v1.34.7 // indirect
github.com/fatih/color v1.9.0 // indirect
github.com/hashicorp/go-getter v1.4.1 // indirect
github.com/hashicorp/go-hclog v0.14.1 // indirect
github.com/hashicorp/go-multierror v1.1.0 // indirect
github.com/hashicorp/go-retryablehttp v0.6.7 // indirect
github.com/hashicorp/go-plugin v1.3.0 // indirect
github.com/hashicorp/go-uuid v1.0.2 // indirect
github.com/hashicorp/go-version v1.2.1 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/hil v0.0.0-20200423225030-a18a1cd20038 // indirect
github.com/hashicorp/terraform v0.13.0
github.com/hashicorp/hcl/v2 v2.6.0 // indirect
github.com/hashicorp/terraform-plugin-sdk v1.15.0
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect
github.com/hashicorp/yamux v0.0.0-20200609203250-aecfd211c9ce // indirect
github.com/mattn/go-colorable v0.1.7 // indirect
github.com/mitchellh/cli v1.1.1 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/mapstructure v1.3.3 // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/posener/complete v1.2.3 // indirect
github.com/spf13/afero v1.3.4 // indirect
github.com/ulikunitz/xz v0.5.7 // indirect
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
github.com/zclconf/go-cty v1.5.1 // indirect
github.com/zclconf/go-cty-yaml v1.0.2 // indirect
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de
golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc // indirect
golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed // indirect
golang.org/x/sys v0.0.0-20200817155316-9781c653f443 // indirect
golang.org/x/tools v0.0.0-20200818005847-188abfa75333 // indirect
google.golang.org/genproto v0.0.0-20200815001618-f69a88009b70 // indirect
)
330 changes: 35 additions & 295 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/hashicorp/terraform/plugin"
"github.com/hashicorp/terraform-plugin-sdk/plugin"

"github.com/invidian/terraform-provider-sshcommand/sshcommand"
)
Expand Down
2 changes: 1 addition & 1 deletion sshcommand/data_source_command.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package sshcommand

import (
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

func dataSourceCommand() *schema.Resource {
Expand Down
4 changes: 2 additions & 2 deletions sshcommand/provider.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package sshcommand

import (
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
)

// Provider exports terraform-provider-sshcommand, which can be used in tests
Expand Down
2 changes: 1 addition & 1 deletion sshcommand/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package sshcommand_test
import (
"testing"

"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"

"github.com/invidian/terraform-provider-sshcommand/sshcommand"
)
Expand Down
2 changes: 1 addition & 1 deletion sshcommand/resource_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"golang.org/x/crypto/ssh"
)

Expand Down

0 comments on commit 504e91e

Please sign in to comment.