Skip to content

Commit

Permalink
apps: update examples to remove environment_slug (#1208)
Browse files Browse the repository at this point in the history
* apps: update examples to remove environment_slug

* apps: update examples to use new size slugs
  • Loading branch information
andrewsomething committed Sep 9, 2024
1 parent 893ffe6 commit 1056a95
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions docs/resources/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ resource "digitalocean_app" "golang-sample" {
service {
name = "go-service"
environment_slug = "go"
instance_count = 1
instance_size_slug = "professional-xs"
instance_size_slug = "apps-s-1vcpu-1gb"
git {
repo_clone_url = "https://github.com/digitalocean/sample-golang.git"
Expand Down Expand Up @@ -73,10 +72,9 @@ resource "digitalocean_app" "mono-repo-example" {
# Build a Go project in the api/ directory that listens on port 3000
# and serves it at https://foo.example.com/api
service {
name = "api"
environment_slug = "go"
name = "go-api"
instance_count = 2
instance_size_slug = "professional-xs"
instance_size_slug = "apps-s-1vcpu-1gb"
github {
branch = "main"
Expand Down Expand Up @@ -160,9 +158,8 @@ resource "digitalocean_app" "golang-sample" {
service {
name = "go-service"
environment_slug = "go"
instance_count = 1
instance_size_slug = "professional-xs"
instance_size_slug = "apps-s-1vcpu-1gb"
git {
repo_clone_url = "https://github.com/digitalocean/sample-golang.git"
Expand Down

0 comments on commit 1056a95

Please sign in to comment.