Skip to content

Commit

Permalink
Acceptance tests: Don't use deprecated size slugs. (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething authored Nov 1, 2021
1 parent cca1804 commit 4750455
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions digitalocean/resource_digitalocean_floating_ip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func testAccCheckDigitalOceanFloatingIPConfig_droplet(rInt int) string {
return fmt.Sprintf(`
resource "digitalocean_droplet" "foobar" {
name = "foobar-%d"
size = "1gb"
size = "s-1vcpu-1gb"
image = "centos-7-x64"
region = "nyc3"
ipv6 = true
Expand All @@ -178,7 +178,7 @@ func testAccCheckDigitalOceanFloatingIPConfig_Reassign(rInt int) string {
return fmt.Sprintf(`
resource "digitalocean_droplet" "baz" {
name = "baz-%d"
size = "1gb"
size = "s-1vcpu-1gb"
image = "centos-7-x64"
region = "nyc3"
ipv6 = true
Expand All @@ -195,7 +195,7 @@ func testAccCheckDigitalOceanFloatingIPConfig_Unassign(rInt int) string {
return fmt.Sprintf(`
resource "digitalocean_droplet" "baz" {
name = "baz-%d"
size = "1gb"
size = "s-1vcpu-1gb"
image = "centos-7-x64"
region = "nyc3"
ipv6 = true
Expand Down
6 changes: 3 additions & 3 deletions digitalocean/resource_digitalocean_volume_attachment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ resource "digitalocean_volume" "foobar" {
resource "digitalocean_droplet" "foobar" {
name = "baz-%d"
size = "1gb"
size = "s-1vcpu-1gb"
image = "centos-7-x64"
region = "nyc1"
}
Expand Down Expand Up @@ -254,7 +254,7 @@ resource "digitalocean_volume" "barfoo" {
resource "digitalocean_droplet" "foobar" {
name = "baz-%d"
size = "1gb"
size = "s-1vcpu-1gb"
image = "centos-7-x64"
region = "nyc1"
}
Expand Down Expand Up @@ -288,7 +288,7 @@ resource "digitalocean_volume" "foobar_second" {
resource "digitalocean_droplet" "foobar" {
name = "baz-%d"
size = "1gb"
size = "s-1vcpu-1gb"
image = "centos-7-x64"
region = "nyc1"
}
Expand Down
4 changes: 2 additions & 2 deletions digitalocean/resource_digitalocean_volume_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ resource "digitalocean_volume" "foobar" {
resource "digitalocean_droplet" "foobar" {
name = "baz-%d"
size = "1gb"
size = "s-1vcpu-1gb"
image = "centos-7-x64"
region = "nyc1"
ipv6 = true
Expand Down Expand Up @@ -337,7 +337,7 @@ resource "digitalocean_volume" "foobar" {
resource "digitalocean_droplet" "foobar" {
name = "baz-%d"
size = "1gb"
size = "s-1vcpu-1gb"
image = "centos-7-x64"
region = "nyc1"
ipv6 = true
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The following example demonstrates the creation of a project with a Droplet reso
```hcl
resource "digitalocean_droplet" "foobar" {
name = "example"
size = "512mb"
size = "s-1vcpu-1gb"
image = "centos-7-x64"
region = "nyc3"
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/project_resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ data "digitalocean_project" "playground" {
resource "digitalocean_droplet" "foobar" {
name = "example"
size = "512mb"
size = "s-1vcpu-1gb"
image = "centos-7-x64"
region = "nyc3"
}
Expand Down

0 comments on commit 4750455

Please sign in to comment.