Skip to content

Commit

Permalink
Merge pull request #103 from humanitec/app-doc-with-env
Browse files Browse the repository at this point in the history
Add example with app's env
  • Loading branch information
louisbennett authored Oct 26, 2024
2 parents 54dca55 + ac18286 commit 7d51414
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/resources/application.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ resource "humanitec_application" "example" {
id = "example"
name = "An example app"
}
resource "humanitec_application" "example" {
id = "example"
name = "An example app with default development environment overriden"
env = {
id = "dev"
name = "Dev"
type = "development"
}
}
```

<!-- schema generated by tfplugindocs -->
Expand Down
11 changes: 11 additions & 0 deletions examples/resources/humanitec_application/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,14 @@ resource "humanitec_application" "example" {
id = "example"
name = "An example app"
}

resource "humanitec_application" "example" {
id = "example"
name = "An example app with default development environment overriden"

env = {
id = "dev"
name = "Dev"
type = "development"
}
}

0 comments on commit 7d51414

Please sign in to comment.