diff --git a/docs/data-sources/enterprise_project.md b/docs/data-sources/enterprise_project.md index 5a5bd582..caf31807 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 343f11bc..8cd3348f 100644 --- a/docs/resources/enterprise_project.md +++ b/docs/resources/enterprise_project.md @@ -10,7 +10,7 @@ Use this resource to manage an enterprise project within FlexibleEngine. -> Deleting enterprise projects is not support. If you destroy a resource of enterprise project, the project is only disabled and removed from the state, but it remains in the cloud. - Please set `insecure = true` in provider block to ignore SSL certificate verification when you got an x509 error. + Please set `insecure = true` in provider block to ignore SSL certificate verification when you got a x509 error. ## Example Usage @@ -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.