Skip to content

Commit

Permalink
docs(eps): fix docs issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Zippo-Wang committed Sep 19, 2023
1 parent 726ef1b commit c6de287
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/enterprise_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
19 changes: 15 additions & 4 deletions docs/resources/enterprise_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:

Expand All @@ -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.
Expand Down

0 comments on commit c6de287

Please sign in to comment.