-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instance timeouts and additional resources (#6)
* Migrate code to SDK v2 * Update resource documentation * Update testing and documentation * Update contribution documentation * Update core Morpheus resources * Update overall provider documentation and code structure * Update data source documentation * Docs update * Update documentation * Additional documentation updates
- Loading branch information
Showing
141 changed files
with
7,060 additions
and
1,218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
page_title: "morpheus_cloud Data Source - terraform-provider-morpheus" | ||
subcategory: "" | ||
description: |- | ||
Provides a Morpheus cloud data source. | ||
--- | ||
|
||
# morpheus_cloud (Data Source) | ||
|
||
Provides a Morpheus cloud data source. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "morpheus_cloud" "vspherecloud" { | ||
name = "morpheus_vsphere" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- **name** (String) The name of the Morpheus cloud | ||
|
||
### Read-Only | ||
|
||
- **code** (String) Optional code for use with policies | ||
- **location** (String) Optional location for your cloud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
page_title: "morpheus_environment Data Source - terraform-provider-morpheus" | ||
subcategory: "" | ||
description: |- | ||
Provides a Morpheus environment data source. | ||
--- | ||
|
||
# morpheus_environment (Data Source) | ||
|
||
Provides a Morpheus environment data source. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "morpheus_environment" "production" { | ||
name = "production" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- **name** (String) The name of the Morpheus environment | ||
|
||
### Read-Only | ||
|
||
- **active** (Boolean) Whether the environment is active | ||
- **code** (String) Optional code for use with policies | ||
- **description** (String) The description of the Morpheus environment | ||
- **visibility** (String) Whether the environment is visible in sub-tenants or not |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
page_title: "morpheus_group Data Source - terraform-provider-morpheus" | ||
subcategory: "" | ||
description: |- | ||
Provides a Morpheus group data source. | ||
--- | ||
|
||
# morpheus_group (Data Source) | ||
|
||
Provides a Morpheus group data source. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "morpheus_group" "morpheusgroup" { | ||
name = "Morpheus" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- **name** (String) The name of the Morpheus group. | ||
|
||
### Read-Only | ||
|
||
- **code** (String) Optional code for use with policies | ||
- **location** (String) Optional location argument for your group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
page_title: "morpheus_instance_layout Data Source - terraform-provider-morpheus" | ||
subcategory: "" | ||
description: |- | ||
Provides a Morpheus instance layout data source. | ||
--- | ||
|
||
# morpheus_instance_layout (Data Source) | ||
|
||
Provides a Morpheus instance layout data source. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "morpheus_instance_layout" "apache" { | ||
name = "Apache" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- **name** (String) The name of the Morpheus instance layout | ||
|
||
### Read-Only | ||
|
||
- **code** (String) Optional code for use with policies | ||
- **description** (String) The description of the instance layout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
page_title: "morpheus_instance_type Data Source - terraform-provider-morpheus" | ||
subcategory: "" | ||
description: |- | ||
Provides a Morpheus instance type data source. | ||
--- | ||
|
||
# morpheus_instance_type (Data Source) | ||
|
||
Provides a Morpheus instance type data source. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "morpheus_instance_type" "apache" { | ||
name = "apache" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- **name** (String) The name of the Morpheus cloud. | ||
|
||
### Read-Only | ||
|
||
- **active** (Boolean) Whether the instance type is enabled or not | ||
- **code** (String) Optional code for use with policies | ||
- **description** (String) The description of the instance type | ||
- **visibility** (String) Whether the instance type is visible in sub-tenants or not |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
page_title: "morpheus_network Data Source - terraform-provider-morpheus" | ||
subcategory: "" | ||
description: |- | ||
Provides a Morpheus network data source. | ||
--- | ||
|
||
# morpheus_network (Data Source) | ||
|
||
Provides a Morpheus network data source. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "morpheus_network" "vmnetwork" { | ||
name = "VM Network" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- **name** (String) The name of the Morpheus network. | ||
|
||
### Read-Only | ||
|
||
- **active** (Boolean) Optional code for use with policies | ||
- **description** (String) The description of the network | ||
- **visibility** (String) Whether the network is visible in sub-tenants or not |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
page_title: "morpheus_option_type Data Source - terraform-provider-morpheus" | ||
subcategory: "" | ||
description: |- | ||
Provides a Morpheus option type data source. | ||
--- | ||
|
||
# morpheus_option_type (Data Source) | ||
|
||
Provides a Morpheus option type data source. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "morpheus_option_type" "versions" { | ||
name = "App Versions" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- **name** (String) The name of the option type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
page_title: "morpheus_plan Data Source - terraform-provider-morpheus" | ||
subcategory: "" | ||
description: |- | ||
Provides a Morpheus plan data source. | ||
--- | ||
|
||
# morpheus_plan (Data Source) | ||
|
||
Provides a Morpheus plan data source. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "morpheus_plan" "vmware" { | ||
name = "1 CPU, 4GB Memory" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- **name** (String) The name of the Morpheus plan. | ||
|
||
### Read-Only | ||
|
||
- **code** (String) Optional code for use with policies | ||
- **description** (String) The description of the plan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
page_title: "morpheus_resource_pool Data Source - terraform-provider-morpheus" | ||
subcategory: "" | ||
description: |- | ||
Provides a Morpheus resource pool data source. | ||
--- | ||
|
||
# morpheus_resource_pool (Data Source) | ||
|
||
Provides a Morpheus resource pool data source. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "morpheus_resource_pool" "morpheus_pool" { | ||
name = "morpheuspool" | ||
cloud_id = data.morpheus_cloud.vspherecloud.id | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **cloud_id** (Number) The id of the Morpheus cloud to search for the resource pool. | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- **name** (String) The name of the Morpheus resource pool. | ||
|
||
### Read-Only | ||
|
||
- **active** (Boolean) Whether the resource pool is enabled or not | ||
- **description** (String) The description of the resource pool | ||
- **type** (String) Optional code for use with policies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
page_title: "morpheus_task Data Source - terraform-provider-morpheus" | ||
subcategory: "" | ||
description: |- | ||
Provides a Morpheus task data source. | ||
--- | ||
|
||
# morpheus_task (Data Source) | ||
|
||
Provides a Morpheus task data source. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "morpheus_task" "deploy_app" { | ||
name = "Deploy app" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- **name** (String) The name of the task |
Oops, something went wrong.