Skip to content

Commit

Permalink
Update Yandex Cloud go SDK package (GoogleCloudPlatform#1259)
Browse files Browse the repository at this point in the history
* Upgrade go module `github.com/yandex-cloud/go-sdk`

* rebranded name

* Upgrade go module `github.com/yandex-cloud/go-sdk`
  • Loading branch information
GennadySpb authored Mar 16, 2022
1 parent 6905df1 commit c4c3acb
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ A CLI tool that generates `tf`/`json` and `tfstate` files based on existing infr
* [OpenStack](/docs/openstack.md)
* [TencentCloud](/docs/tencentcloud.md)
* [Vultr](/docs/vultr.md)
* [Yandex.Cloud](/docs/yandex.md)
* [Yandex Cloud](/docs/yandex.md)
* Infrastructure Software
* [Kubernetes](/docs/kubernetes.md)
* [OctopusDeploy](/docs/octopus.md)
Expand Down
7 changes: 3 additions & 4 deletions docs/yandex.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
### Use with Yandex
### Use with Yandex Cloud

Example:

```
export YC_TOKEN=[YANDEX_CLOUD_OAUTH_TOKEN]
export YC_FOLDER_ID=[YANDEX_FOLDER_ID]
./terraformer import yandex -r subnet
export YC_TOKEN=[YANDEX_CLOUD_OAUTH_OR_IAM_TOKEN]
./terraformer import yandex -r subnet --folder_ids <comma-separated folder IDs>
```

List of supported Yandex resources:
Expand Down
26 changes: 15 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ require (
github.com/tencentyun/cos-go-sdk-v5 v0.7.19
github.com/vultr/govultr v0.5.0
github.com/xanzy/go-gitlab v0.50.2
github.com/yandex-cloud/go-genproto v0.0.0-20200722140432-762fe965ce77
github.com/yandex-cloud/go-sdk v0.0.0-20200722140627-2194e5077f13
github.com/yandex-cloud/go-genproto v0.0.0-20220314102905-1acaee8ca7eb
github.com/yandex-cloud/go-sdk v0.0.0-20220314105123-d0c2a928feb6
github.com/zclconf/go-cty v1.8.4
github.com/zorkian/go-datadog-api v2.30.0+incompatible
golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99
golang.org/x/text v0.3.7
gonum.org/v1/gonum v0.7.0
google.golang.org/api v0.40.0
google.golang.org/genproto v0.0.0-20210226172003-ab064af71705
google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106
gopkg.in/jarcoal/httpmock.v1 v1.0.0-00010101000000-000000000000 // indirect
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect
k8s.io/apimachinery v0.21.0
Expand Down Expand Up @@ -248,9 +248,9 @@ require (
github.com/googleapis/gax-go/v2 v2.0.5 // indirect
github.com/googleapis/gnostic v0.4.1 // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-getter v1.5.3 // indirect
github.com/hashicorp/go-multierror v1.0.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-retryablehttp v0.7.0 // indirect
github.com/hashicorp/go-rootcerts v1.0.0 // indirect
github.com/hashicorp/go-safetemp v1.0.0 // indirect
Expand Down Expand Up @@ -311,16 +311,16 @@ require (
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 // indirect
golang.org/x/mod v0.5.1 // indirect
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f // indirect
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 // indirect
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d // indirect
golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86 // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba // indirect
golang.org/x/tools v0.1.8 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/grpc v1.35.0 // indirect
google.golang.org/protobuf v1.26.0 // indirect
google.golang.org/grpc v1.45.0 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/auth0.v5 v5.21.1
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
Expand All @@ -338,6 +338,10 @@ require (
)

require github.com/PuerkitoBio/rehttp v1.0.0 // indirect
require github.com/peterhellberg/link v1.1.0 // indirect

require (
github.com/golang-jwt/jwt/v4 v4.3.0 // indirect
github.com/peterhellberg/link v1.1.0 // indirect
)

replace gopkg.in/jarcoal/httpmock.v1 => github.com/jarcoal/httpmock v1.0.5
Loading

0 comments on commit c4c3acb

Please sign in to comment.