Skip to content

Commit

Permalink
Merge pull request #128 from digitalocean/asb/example-updates
Browse files Browse the repository at this point in the history
Update OS and size in examples.
  • Loading branch information
andrewsomething authored Feb 12, 2024
2 parents 601c064 + 49a78a6 commit e33984b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .web-docs/components/builder/digitalocean/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ access tokens:
```hcl
source "digitalocean" "example" {
api_token = "YOUR API KEY"
image = "ubuntu-16-04-x64"
image = "ubuntu-22-04-x64"
region = "nyc3"
size = "512mb"
size = "s-1vcpu-1gb"
ssh_username = "root"
}
Expand All @@ -144,9 +144,9 @@ build {
{
"type": "digitalocean",
"api_token": "YOUR API KEY",
"image": "ubuntu-16-04-x64",
"image": "ubuntu-22-04-x64",
"region": "nyc3",
"size": "512mb",
"size": "s-1vcpu-1gb",
"ssh_username": "root"
}
```
Expand Down
2 changes: 1 addition & 1 deletion builder/digitalocean/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ func testConfig() map[string]interface{} {
return map[string]interface{}{
"api_token": "bar",
"region": "nyc2",
"size": "512mb",
"size": "s-1vcpu-1gb",
"ssh_username": "root",
"image": "foo",
}
Expand Down
8 changes: 4 additions & 4 deletions docs/builders/digitalocean.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ access tokens:
```hcl
source "digitalocean" "example" {
api_token = "YOUR API KEY"
image = "ubuntu-16-04-x64"
image = "ubuntu-22-04-x64"
region = "nyc3"
size = "512mb"
size = "s-1vcpu-1gb"
ssh_username = "root"
}
Expand All @@ -68,9 +68,9 @@ build {
{
"type": "digitalocean",
"api_token": "YOUR API KEY",
"image": "ubuntu-16-04-x64",
"image": "ubuntu-22-04-x64",
"region": "nyc3",
"size": "512mb",
"size": "s-1vcpu-1gb",
"ssh_username": "root"
}
```
Expand Down
4 changes: 2 additions & 2 deletions example/basic_digitalocean.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ packer {

source "digitalocean" "example" {
api_token = "YOUR API KEY"
image = "ubuntu-16-04-x64"
image = "ubuntu-22-04-x64"
region = "nyc3"
size = "512mb"
size = "s-1vcpu-1gb"
ssh_username = "root"
}

Expand Down
4 changes: 2 additions & 2 deletions example/build.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ packer {

source "digitalocean" "example" {
api_token = "YOUR API KEY"
image = "ubuntu-16-04-x64"
image = "ubuntu-22-04-x64"
region = "nyc3"
size = "512mb"
size = "s-1vcpu-1gb"
ssh_username = "root"
}

Expand Down

0 comments on commit e33984b

Please sign in to comment.