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

chore: Bump sdk and fix cassettes #866

Merged
merged 4 commits into from
Aug 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/acceptance-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.15.1
go-version: 1.15.14
- name: Checkout
uses: actions/checkout@v2
- name: Run Acceptance Tests
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
github.com/hashicorp/go-retryablehttp v0.7.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.7.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210427131120-0f06a0676b46
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210804084528-d11825fe1059
github.com/stretchr/testify v1.7.0
golang.org/x/mod v0.4.2 // indirect
golang.org/x/sys v0.0.0-20210511113859-b0526f3d8744 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210427131120-0f06a0676b46 h1:vo1Cwfn5es6jK9o5TvShDIdr8VWhYIHF9Q69LUxIpAg=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210427131120-0f06a0676b46/go.mod h1:CJJ5VAbozOl0yEw7nHB9+7BXTJbIn6h7W+f6Gau5IP8=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210804084528-d11825fe1059 h1:nwz2J8vqZJNN32yzUY9W8cPn4AwbMJdk/O/4nx+RLPM=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.7.0.20210804084528-d11825fe1059/go.mod h1:CJJ5VAbozOl0yEw7nHB9+7BXTJbIn6h7W+f6Gau5IP8=
github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
Expand Down
22 changes: 12 additions & 10 deletions scaleway/data_source_instance_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,29 @@ func TestAccScalewayDataSourceInstanceServer_Basic(t *testing.T) {
{
Config: fmt.Sprintf(`
resource "scaleway_instance_server" "main" {
name = "%s"
image = "ubuntu_focal"
type = "DEV1-S"
tags = [ "terraform-test", "data_scaleway_instance_server", "basic" ]
name = "%s"
image = "ubuntu_focal"
type = "DEV1-S"
state = "stopped"
tags = [ "terraform-test", "data_scaleway_instance_server", "basic" ]
}`, serverName),
},
{
Config: fmt.Sprintf(`
resource "scaleway_instance_server" "main" {
name = "%s"
image = "ubuntu_focal"
type = "DEV1-S"
tags = [ "terraform-test", "data_scaleway_instance_server", "basic" ]
name = "%s"
image = "ubuntu_focal"
type = "DEV1-S"
state = "stopped"
tags = [ "terraform-test", "data_scaleway_instance_server", "basic" ]
}

data "scaleway_instance_server" "prod" {
name = "${scaleway_instance_server.main.name}"
name = "${scaleway_instance_server.main.name}"
}

data "scaleway_instance_server" "stg" {
server_id = "${scaleway_instance_server.main.id}"
server_id = "${scaleway_instance_server.main.id}"
}`, serverName),
Check: resource.ComposeTestCheckFunc(
testAccCheckScalewayInstanceServerExists(tt, "data.scaleway_instance_server.prod"),
Expand Down
Loading