From 6c80d3862d5e6f247b88f02db7ebaca60c885611 Mon Sep 17 00:00:00 2001 From: wangzepeng666 Date: Tue, 19 Sep 2023 16:04:24 +0800 Subject: [PATCH] docs(eps): fix docs issues --- docs/data-sources/enterprise_project.md | 2 +- docs/resources/enterprise_project.md | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/docs/data-sources/enterprise_project.md b/docs/data-sources/enterprise_project.md index 5a5bd5828..caf318077 100644 --- a/docs/data-sources/enterprise_project.md +++ b/docs/data-sources/enterprise_project.md @@ -24,7 +24,7 @@ data "flexibleengine_enterprise_project" "test" { + 1 indicates Enabled. + 2 indicates Disabled. -## Attributes Reference +## Attribute Reference In addition to all arguments above, the following attributes are exported: diff --git a/docs/resources/enterprise_project.md b/docs/resources/enterprise_project.md index 343f11bcc..419fda4c5 100644 --- a/docs/resources/enterprise_project.md +++ b/docs/resources/enterprise_project.md @@ -23,15 +23,18 @@ resource "flexibleengine_enterprise_project" "test" { ## Argument Reference -* `name` - (Optional, String) Specifies the name of the enterprise project. +* `name` - (Required, String) Specifies the name of the enterprise project. This parameter can contain 1 to 64 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed. The name must be unique in the domain and cannot include any form of the word "default" ("deFaulT", for instance). * `description` - (Optional, String) Specifies the description of the enterprise project. -* `enable` - (Optional, Bool) Specifies whether to enable the enterprise project. Default to *true*. +* `enable` - (Optional, Bool) Specifies whether to enable the enterprise project. Default to **true**. -## Attributes Reference +* `skip_disable_on_destroy` - (Optional, Bool) Specifies whether to skip disable the enterprise project on destroy. + Defaults to **false**. + +## Attribute Reference In addition to all arguments above, the following attributes are exported: @@ -45,6 +48,14 @@ In addition to all arguments above, the following attributes are exported: * `updated_at` - Indicates the UTC time when the enterprise project was modified. Example: 2018-05-28T02:21:36Z +## Timeouts + +This resource provides the following timeouts configuration options: + +* `create` - Default is 5 minutes. +* `update` - Default is 5 minutes. +* `delete` - Default is 5 minutes. + ## Import Enterprise projects can be imported using the `id`, e.g.