-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from fpt-corp/feat/fke
Implement FKE & FDE
- Loading branch information
Showing
34 changed files
with
5,069 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "fptcloud_dedicated_kubernetes_engine_v1 Data Source - terraform-provider-fptcloud" | ||
subcategory: "" | ||
description: |- | ||
Retrieves information about dedicated FKE clusters | ||
--- | ||
|
||
# fptcloud_dedicated_kubernetes_engine_v1 (Data Source) | ||
|
||
Retrieves information about dedicated FKE clusters | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `cluster_id` (String) Cluster ID, as shown on the dashboard, usually has a length of 8 characters | ||
- `vpc_id` (String) VPC ID | ||
|
||
### Read-Only | ||
|
||
- `cluster_name` (String) Cluster name | ||
- `edge_id` (String) Edge ID | ||
- `id` (String) UUID of the cluster | ||
- `ip_private_firewall` (String) IP private firewall | ||
- `ip_public_firewall` (String) IP public firewall | ||
- `k8s_version` (String) Kubernetes version | ||
- `lb_size` (String) Load balancer size | ||
- `master_count` (Number) Number of master node | ||
- `master_disk_size` (Number) Master node disk capacity in GB | ||
- `master_type` (String) ID of the flavor of master node | ||
- `max_pod_per_node` (Number) Max pods per node | ||
- `network_id` (String) Network UUID | ||
- `network_node_prefix` (Number) Network node prefix | ||
- `nfs_disk_size` (Number) NFS disk size | ||
- `nfs_status` (String) NFS status | ||
- `node_dns` (String) DNS server of nodes | ||
- `pod_network` (String) Pod network in CIDR notation | ||
- `region_id` (String) Region ID | ||
- `scale_max` (Number) Maximum number of nodes for autoscaling | ||
- `scale_min` (Number) Minimum number of nodes for autoscaling | ||
- `service_network` (String) Service network in CIDR notation | ||
- `storage_policy` (String) Storage policy | ||
- `worker_disk_size` (Number) Worker node disk capacity in GB | ||
- `worker_type` (String) ID of the flavor of worker node |
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 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "fptcloud_edge_gateway Data Source - terraform-provider-fptcloud" | ||
subcategory: "" | ||
description: |- | ||
Retrieves information about FPT Cloud edge gateway | ||
--- | ||
|
||
# fptcloud_edge_gateway (Data Source) | ||
|
||
Retrieves information about FPT Cloud edge gateway | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) Name of the compute edge_gateway | ||
- `vpc_id` (String) VPC id | ||
|
||
### Read-Only | ||
|
||
- `edge_gateway_id` (String) Edge gateway id | ||
- `id` (String) Identifier of the edge_gateway |
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,53 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "fptcloud_managed_kubernetes_engine_v1 Data Source - terraform-provider-fptcloud" | ||
subcategory: "" | ||
description: |- | ||
Manage managed FKE clusters. | ||
--- | ||
|
||
# fptcloud_managed_kubernetes_engine_v1 (Data Source) | ||
|
||
Manage managed FKE clusters. | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `cluster_name` (String) | ||
- `vpc_id` (String) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
- `k8s_max_pod` (Number) | ||
- `k8s_version` (String) | ||
- `load_balancer_type` (String) | ||
- `network_node_prefix` (Number) | ||
- `pod_network` (String) | ||
- `pod_prefix` (String) | ||
- `pools` (Block List) (see [below for nested schema](#nestedblock--pools)) | ||
- `purpose` (String) | ||
- `range_ip_lb_end` (String) | ||
- `range_ip_lb_start` (String) | ||
- `service_network` (String) | ||
- `service_prefix` (String) | ||
|
||
<a id="nestedblock--pools"></a> | ||
### Nested Schema for `pools` | ||
|
||
Read-Only: | ||
|
||
- `auto_scale` (Boolean) | ||
- `is_enable_auto_repair` (Boolean) | ||
- `name` (String) | ||
- `network_id` (String) | ||
- `network_name` (String) | ||
- `scale_max` (Number) | ||
- `scale_min` (Number) | ||
- `storage_profile` (String) | ||
- `worker_disk_size` (Number) | ||
- `worker_type` (String) |
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,49 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "fptcloud_database Resource - terraform-provider-fptcloud" | ||
subcategory: "" | ||
description: |- | ||
Provides a Fpt database cluster which can be used to store data. | ||
--- | ||
|
||
# fptcloud_database (Resource) | ||
|
||
Provides a Fpt database cluster which can be used to store data. | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `admin_password` (String) The admin password of the database cluster. | ||
- `cluster_name` (String) The name of the database cluster. | ||
- `data_disk_size` (Number) The size of the data disk in each node of the database cluster. | ||
- `database_name` (String) The name of the database in the database cluster. | ||
- `domain_name` (String) The domain name of the database cluster. | ||
- `edge_id` (String) The edge Id of the database cluster. | ||
- `edition` (String) The edition of the database cluster. | ||
- `flavor` (String) The flavor of the database cluster. | ||
- `is_cluster` (String) The cluster status of the database cluster. | ||
- `is_ops` (String) Whether the database is OpenStack or VMware | ||
- `is_public` (String) Whether the database is public or not. | ||
- `master_count` (Number) The number of master nodes in the database cluster. | ||
- `network_id` (String) The network Id of the database cluster. | ||
- `node_core` (Number) The number of cores in each node of the database cluster. | ||
- `node_cpu` (Number) The number of CPUs in each node of the database cluster. | ||
- `node_ram` (Number) The amount of RAM in each node of the database cluster. | ||
- `number_of_node` (Number) The number of nodes in the database cluster. | ||
- `storage_profile` (String) The storage profile of the database cluster. | ||
- `type_config` (String) The type of configuration of the database cluster (short-config or custom-config). | ||
- `type_db` (String) The type of database of the database cluster | ||
- `vdc_name` (String) The VDC name of the database cluster. | ||
- `version` (String) The version of the database cluster. | ||
- `vhost_name` (String) The name of the RabbitMQ database. | ||
- `vm_network` (String) The VM network of the database cluster. | ||
- `vpc_id` (String) The VPC Id of the database cluster. | ||
- `worker_count` (Number) The number of worker nodes in the database cluster. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The Id of the database cluster. |
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,21 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "fptcloud_database_status Resource - terraform-provider-fptcloud" | ||
subcategory: "" | ||
description: |- | ||
Provides a Fpt database cluster status to temporarily stop or start a database. | ||
--- | ||
|
||
# fptcloud_database_status (Resource) | ||
|
||
Provides a Fpt database cluster status to temporarily stop or start a database. | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `id` (String) The Id of the database cluster. | ||
- `status` (String) The status of the database cluster, must be 'running' or 'stopped'. |
Oops, something went wrong.