Skip to content

Commit

Permalink
Update generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Nov 13, 2024
1 parent 9b46c9d commit e1640e4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
23 changes: 22 additions & 1 deletion docs/resources/virtualhost.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,28 @@ description: |-

This resource models a virtualhost.


## Example Usage

```terraform
variable "server_id" {
type = string
}
resource "mittwald_virtualhost" "foobar" {
hostname = "test.example"
project_id = mittwald_project.foobar.id
paths = {
"/" = {
app = mittwald_app.foobar.id
}
"/redirect" = {
redirect = "https://redirect.example"
}
}
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/mittwald_virtualhost/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ variable "server_id" {
}

resource "mittwald_virtualhost" "foobar" {
hostname = "test.example"
hostname = "test.example"
project_id = mittwald_project.foobar.id

paths = {
Expand Down

0 comments on commit e1640e4

Please sign in to comment.