Skip to content

Commit

Permalink
fix: docs base
Browse files Browse the repository at this point in the history
  • Loading branch information
marconneves committed Nov 7, 2024
1 parent 7c1506d commit 7d088cb
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/project_environment.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "coolify_project_environment Data Source - coolify"
subcategory: "project_environment"
subcategory: "project"
description: |-
Environment data source
---
Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ output "server_name" {
- `high_disk_usage_notification_sent` (Boolean) Indicates if a high disk usage notification has been sent.
- `ip` (String) The IP address of the server.
- `log_drain_notification_sent` (Boolean) Indicates if a log drain notification has been sent.
- `port` (String) The port used by the server.
- `private_key_id` (Number) The ID of the private key associated with the server.
- `port` (Number) The port used by the server.
- `private_key_uuid` (String) The ID of the private key associated with the server.
- `proxy` (Attributes) Proxy settings for the server. (see [below for nested schema](#nestedatt--proxy))
- `settings` (Attributes) Settings related to the server. (see [below for nested schema](#nestedatt--settings))
- `swarm_cluster` (String) The swarm cluster associated with the server.
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/team_members.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "coolify_team_members Data Source - coolify"
subcategory: "team_members"
subcategory: "team"
description: |-
Team members data source
---
Expand Down
47 changes: 47 additions & 0 deletions docs/resources/server.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "coolify_server Resource - coolify"
subcategory: "server"
description: |-
Manage Coolify servers
---

# coolify_server

Manage Coolify servers

## Exemplo de Uso

```terraform
resource "coolify_server" "test" {
name = "example-server"
ip = "192.168.1.100"
port = "22"
user = "example-user"
private_key_uuid = "example-key-uuid"
}
```

## Argumentos e Atributos

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `ip` (String) Server IP address
- `name` (String) Server name
- `port` (Number) Server port
- `private_key_uuid` (String) The UUID of the private key associated with the server.
- `user` (String) Server user

### Optional

- `description` (String) Server description
- `uuid` (String) Server identifier



## Importação

/Users/marcon/Projects/OpenSource/terraform-provider-coolify/examples/resources/coolify_server/import.sh
7 changes: 7 additions & 0 deletions examples/resources/coolify_server/resource.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
resource "coolify_server" "test" {
name = "example-server"
ip = "192.168.1.100"
port = "22"
user = "example-user"
private_key_uuid = "example-key-uuid"
}
2 changes: 1 addition & 1 deletion templates/data-sources/project_environment.md.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "{{ .Name }} Data Source - {{ .ProviderName }}"
subcategory: "project_environment"
subcategory: "project"
description: |-
{{ .Description }}
---
Expand Down
2 changes: 1 addition & 1 deletion templates/data-sources/team_members.md.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "{{ .Name }} Data Source - {{ .ProviderName }}"
subcategory: "team_members"
subcategory: "team"
description: |-
{{ .Description }}
---
Expand Down
23 changes: 23 additions & 0 deletions templates/resources/server.md.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "{{ .Name }} Resource - {{ .ProviderName }}"
subcategory: "server"
description: |-
{{ .Description }}
---

# {{ .Name }}

{{ .Description }}

## Exemplo de Uso

{{ tffile .ExampleFile }}

## Argumentos e Atributos

{{ .SchemaMarkdown }}

## Importação

{{ .ImportFile }}

0 comments on commit 7d088cb

Please sign in to comment.