From f439a60102044cbc86a4d5810830db49bf32d131 Mon Sep 17 00:00:00 2001 From: Cezar Sa Espinola Date: Mon, 13 Dec 2021 19:30:48 -0300 Subject: [PATCH] Update docs --- docs/data-sources/app.md | 4 +++- docs/resources/app.md | 1 + docs/resources/router.md | 1 + go.mod | 2 +- main.go | 2 +- 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/data-sources/app.md b/docs/data-sources/app.md index f70efa5..4f3767a 100644 --- a/docs/data-sources/app.md +++ b/docs/data-sources/app.md @@ -3,7 +3,7 @@ page_title: "tsuru_app Data Source - terraform-provider-tsuru" subcategory: "" description: |- - + --- # tsuru_app (Data Source) @@ -56,3 +56,5 @@ Read-Only: - **addresses** (List of String) - **name** (String) - **options** (Map of String) + + diff --git a/docs/resources/app.md b/docs/resources/app.md index e6b3e9e..e95a5ed 100644 --- a/docs/resources/app.md +++ b/docs/resources/app.md @@ -34,6 +34,7 @@ Tsuru Application ### Read-Only +- **cluster** (String) The name of cluster - **internal_address** (List of Object) (see [below for nested schema](#nestedatt--internal_address)) - **router** (List of Object) (see [below for nested schema](#nestedatt--router)) diff --git a/docs/resources/router.md b/docs/resources/router.md index 5d1cc4f..191532a 100644 --- a/docs/resources/router.md +++ b/docs/resources/router.md @@ -24,5 +24,6 @@ description: |- - **config** (String) Configuration for router in YAML format - **id** (String) The ID of this resource. +- **readiness_gates** (List of String) List of readiness gates associated with this router diff --git a/go.mod b/go.mod index b640c3d..f69434c 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.15 require ( cloud.google.com/go/storage v1.14.0 // indirect github.com/agext/levenshtein v1.2.3 // indirect - github.com/antihax/optional v1.0.0 + github.com/antihax/optional v1.0.0 // indirect github.com/aws/aws-sdk-go v1.38.12 // indirect github.com/fatih/color v1.10.0 // indirect github.com/ghodss/yaml v1.0.0 diff --git a/main.go b/main.go index fa4d424..dd75a50 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( "github.com/tsuru/terraform-provider-tsuru/internal/provider" ) -//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs +//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@latest func main() { plugin.Serve(&plugin.ServeOpts{