Skip to content

Commit

Permalink
Removing APIv1
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicatoscani committed Jul 28, 2023
1 parent bfc699f commit 1e44643
Show file tree
Hide file tree
Showing 229 changed files with 265 additions and 22,832 deletions.
22 changes: 0 additions & 22 deletions docs/data-sources/affinity.md

This file was deleted.

37 changes: 0 additions & 37 deletions docs/data-sources/compute.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/data-sources/compute_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ directory for complete configuration examples.
- `security_group_ids` (Set of String) The list of attached [exoscale_security_group](../resources/security_group.md) (IDs).
- `ssh_key` (String) The [exoscale_ssh_key](../resources/ssh_key.md) (name) authorized on the instance.
- `state` (String) The instance state.
- `template_id` (String) The instance [exoscale_compute_template](./compute_template.md) ID.
- `template_id` (String) The instance [exoscale_template](./template.md) ID.
- `type` (String) The instance type.
- `user_data` (String) The instance [cloud-init](http://cloudinit.readthedocs.io/en/latest/) configuration.

Expand Down
28 changes: 0 additions & 28 deletions docs/data-sources/compute_ipaddress.md

This file was deleted.

47 changes: 0 additions & 47 deletions docs/data-sources/compute_template.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/data-sources/database_uri.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ resource "exoscale_database" "my_database" {
data "exoscale_database_uri" "my_database" {
name = "my-database"
type = "pg"
zone = "ch-gva-2"
}
output "my_database_uri" {
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/instance_pool.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ directory for complete configuration examples.
- `security_group_ids` (Set of String) The list of attached [exoscale_security_group](../resources/security_group.md) (IDs).
- `size` (Number) The number managed instances.
- `state` (String) The pool state.
- `template_id` (String) The managed instances [exoscale_compute_template](./compute_template.md) ID.
- `template_id` (String) The managed instances [exoscale_template](./template.md) ID.
- `user_data` (String) [cloud-init](http://cloudinit.readthedocs.io/en/latest/) configuration.

<a id="nestedatt--instances"></a>
Expand Down
33 changes: 0 additions & 33 deletions docs/data-sources/network.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,11 @@ provider "exoscale" {

### Optional

- `compute_endpoint` (String) Exoscale CloudStack API endpoint (by default: https://api.exoscale.com/v1)
- `config` (String) CloudStack ini configuration filename (by default: cloudstack.ini)
- `delay` (Number, Deprecated)
- `dns_endpoint` (String) Exoscale DNS API endpoint (by default: https://api.exoscale.com/dns)
- `environment` (String)
- `key` (String) Exoscale API key
- `profile` (String, Deprecated)
- `region` (String) CloudStack ini configuration section name (by default: cloudstack)
- `secret` (String, Sensitive) Exoscale API secret
- `timeout` (Number) Timeout in seconds for waiting on compute resources to become available (by default: 300)
- `token` (String, Deprecated)

### Fine-tuning Timeout durations

Expand Down
43 changes: 0 additions & 43 deletions docs/resources/affinity.md

This file was deleted.

69 changes: 0 additions & 69 deletions docs/resources/compute.md

This file was deleted.

6 changes: 3 additions & 3 deletions docs/resources/compute_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ After the creation, you can retrieve the password of an instance with [Exoscale
## Example Usage

```terraform
data "exoscale_compute_template" "my_template" {
data "exoscale_template" "my_template" {
zone = "ch-gva-2"
name = "Linux Ubuntu 22.04 LTS 64-bit"
}
Expand All @@ -28,7 +28,7 @@ resource "exoscale_compute_instance" "my_instance" {
zone = "ch-gva-2"
name = "my-instance"
template_id = data.exoscale_compute_template.my_template.id
template_id = data.exoscale_template.my_template.id
type = "standard.medium"
disk_size = 10
}
Expand All @@ -43,7 +43,7 @@ directory for complete configuration examples.
### Required

- `name` (String) The compute instance name.
- `template_id` (String) ❗ The [exoscale_compute_template](../data-sources/compute_template.md) (ID) to use when creating the instance.
- `template_id` (String) ❗ The [exoscale_template](../data-sources/template.md) (ID) to use when creating the instance.
- `type` (String) The instance type (`<family>.<size>`, e.g. `standard.medium`; use the [Exoscale CLI](https://github.com/exoscale/cli/) - `exo compute instance-type list` - for the list of available types). **WARNING**: updating this attribute stops/restarts the instance.
- `zone` (String) ❗ The Exoscale [Zone](https://www.exoscale.com/datacenters/) name.

Expand Down
6 changes: 3 additions & 3 deletions docs/resources/instance_pool.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Corresponding data sources: [exoscale_instance_pool](../data-sources/instance_po
## Example Usage

```terraform
data "exoscale_compute_template" "my_template" {
data "exoscale_template" "my_template" {
zone = "ch-gva-2"
name = "Linux Ubuntu 22.04 LTS 64-bit"
}
Expand All @@ -25,7 +25,7 @@ resource "exoscale_instance_pool" "my_instance_pool" {
zone = "ch-gva-2"
name = "my-instance-pool"
template_id = data.exoscale_compute_template.my_template.id
template_id = data.exoscale_template.my_template.id
instance_type = "standard.medium"
disk_size = 10
size = 3
Expand All @@ -42,7 +42,7 @@ directory for complete configuration examples.

- `name` (String) The instance pool name.
- `size` (Number) The number of managed instances.
- `template_id` (String) The [exoscale_compute_template](../data-sources/compute_template.md) (ID) to use when creating the managed instances.
- `template_id` (String) The [exoscale_template](../data-sources/template.md) (ID) to use when creating the managed instances.
- `zone` (String) ❗ The Exoscale [Zone](https://www.exoscale.com/datacenters/) name.

### Optional
Expand Down
Loading

0 comments on commit 1e44643

Please sign in to comment.