Skip to content

Commit 1a38abd

Browse files
bene2k1remyleone
andauthored
Apply suggestions from code review
Co-authored-by: Rémy Léone <[email protected]>
1 parent 0082105 commit 1a38abd

File tree

7 files changed

+15
-14
lines changed

7 files changed

+15
-14
lines changed

pages/terraform/quickstart.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ categories:
1515

1616
[Terraform](https://www.terraform.io/) or [OpenTofu](https://opentofu.org/) is an Infrastructure as Code (IaC) software environment tool that allows you to easily build and maintain your cloud resources. You can use it to safely and efficiently deploy Scaleway resources in a declarative way.
1717

18-
Check out the [Scaleway Terraform/OpenTofu registry](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs) documentation for more information.
18+
Check out the [Scaleway Terraform](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs) or [OpenTofu](https://search.opentofu.org/provider/opentofu/scaleway/latest) registry documentation for more information.
1919

2020
<Macro id="requirements" />
2121

2222
- A Scaleway account logged into the [console](https://console.scaleway.com)
2323
- initialized the [Scaleway configuration file](/terraform/reference-content/scaleway-configuration-file/)
24-
- [Installed Terraform/OpenTofu](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli#install-terraform)
24+
- Installed [Terraform](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli#install-terraform) or [OpenTofu](https://opentofu.org/docs/intro/install/)
2525

2626
## Creating and Deploying Scaleway resources using Terraform/OpenTofu
2727

@@ -81,7 +81,7 @@ For the sake of this example, we are going to create a Kubernetes Kapsule cluste
8181
}
8282
```
8383
<Message type="note">
84-
Refer to the [Scaleway provider documentation on the Terraform/OpenTofu Registry](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs) to learn how to deploy other resources.
84+
Refer to the Scaleway provider documentation on the [Terraform](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs) or [OpenTofu](https://search.opentofu.org/provider/opentofu/scaleway/latest) registry to learn how to deploy other resources.
8585
</Message>
8686
5. Save your changes.
8787

@@ -121,6 +121,7 @@ A `Destroy complete! Resources: X destroyed.` message appears, your Scaleway res
121121

122122
## Useful links
123123

124-
- [Scaleway provider documentation on the Terraform/OpenTofu Registry](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs)
124+
- [Scaleway provider documentation on the Terraform Registry](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs)
125+
- [Scaleway provider documentation on the OpenTofu Registry](https://search.opentofu.org/provider/opentofu/scaleway/latest)
125126
- [Scaleway modules on Terraform/OpenTofu registry](https://registry.terraform.io/namespaces/scaleway-terraform-modules)
126127
- [Terraform/OpenTofu provider Scaleway repository](https://github.com/scaleway/terraform-provider-scaleway)

tutorials/deploy-instances-packer-terraform/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ As exemplified below, we will build an Ubuntu image with Apache preinstalled:
225225

226226
## Deploying machine images with Terraform/OpenTofu
227227

228-
1. Download [Terraform/OpenTofu](https://www.terraform.io/downloads.html) for your operating system.
228+
1. Download [Terraform](https://www.terraform.io/downloads.html) or [OpenTofu](https://opentofu.org/docs/intro/install/) for your operating system.
229229
2. Set your credentials as an environment variable on your computer. For example in bash, you have to edit the file `~/.bashrc`, for zsh the procedure is the same, but the file to edit is `~/.zshrc`:
230230
```bash
231231
export SCW_DEFAULT_PROJECT_ID=<YOUR_PROJECT_ID>
@@ -308,7 +308,7 @@ As exemplified below, we will build an Ubuntu image with Apache preinstalled:
308308
309309
* scaleway/scaleway: version = "~> 1.17.0"
310310
311-
Terraform/OpenTofu has been successfully initialized!
311+
Terraform has been successfully initialized!
312312
```
313313
4. Run a **dry run** of the configuration to check it:
314314
```bash

tutorials/deploy-meilisearch-instance/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ If you have created your Instance within a **Private Network** or if you are usi
162162
- Move your Instance inside a [Private Network](/instances/how-to/use-private-networks/) if you do not want it to be exposed publicly on the internet
163163
- Configure regular data backups using [Meilisearch Snapshots](https://www.meilisearch.com/docs/learn/advanced/snapshots/) or [Instances snapshots](/instances/how-to/create-a-snapshot/)
164164

165-
- **Fine-tune deployment configuration** such as [Instance type or disk size](/instances/reference-content/choosing-instance-type/), from the [Scaleway console](https://console.scaleway.com/instance/servers/), [the Scaleway API](https://www.scaleway.com/en/developers/api/instance/), [CLI](/instances/api-cli/cli-cheatsheet/) or [Terraform/OpenTofu](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/instance_server/).
165+
- **Fine-tune deployment configuration** such as [Instance type or disk size](/instances/reference-content/choosing-instance-type/), from the [Scaleway console](https://console.scaleway.com/instance/servers/), [the Scaleway API](https://www.scaleway.com/en/developers/api/instance/), [CLI](/instances/api-cli/cli-cheatsheet/), [Terraform](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/instance_server/), or [OpenTofu](https://search.opentofu.org/provider/opentofu/scaleway/latest).
166166

167167
## Troubleshooting
168168

tutorials/get-started-deploy-kapsule/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Before starting the practical steps of this tutorial, we review a few key Kubern
7272

7373
* **Managed Kubernetes**: Managed Kubernetes is when third-party providers take over some of the responsibility for setting up and operating Kubernetes. Scaleway has two managed Kubernetes products: [Kubernetes Kapsule](https://www.scaleway.com/en/kubernetes-kapsule/) and [Kubernetes Kosmos](https://www.scaleway.com/en/kubernetes-kosmos/). Kapsule is our classic Kubernetes offer, where all nodes and their pods in the cluster are managed by Scaleway and hosted on Scaleway Instances. Kosmos allows you to have multi-cloud clusters, with pods hosted on nodes from different cloud providers.
7474

75-
In both cases, Scaleway walks you through the setup of your cluster and manages your control plane for free. All the control plane's components, and kubelets on the nodes, are fully managed. There is no need to connect to your nodes directly, as all actions and configurations can be done from the Scaleway console, via the `kubectl` command, the [Scaleway Kapsule API](https://www.scaleway.com/en/developers/api/kubernetes/) or via [Terraform/OpenTofu](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/k8s_cluster). You can also monitor your cluster from the Kubernetes dashboard web interface.
75+
In both cases, Scaleway walks you through the setup of your cluster and manages your control plane for free. All the control plane's components, and kubelets on the nodes, are fully managed. There is no need to connect to your nodes directly, as all actions and configurations can be done from the Scaleway console, via the `kubectl` command, the [Scaleway Kapsule API](https://www.scaleway.com/en/developers/api/kubernetes/), [Terraform](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/k8s_cluster), or via [OpenTofu](https://search.opentofu.org/provider/opentofu/scaleway/latest). You can also monitor your cluster from the Kubernetes dashboard web interface.
7676

7777
## Creating a Kubernetes Kapsule cluster
7878

tutorials/nextjs-app-serverless-functions-sqldb/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ To secure your deployment, we will now add a dedicated [IAM application](/iam/co
566566
## Deploy a Next.js application using Terraform/OpenTofu templates
567567

568568
<Message type="note">
569-
You must have [Terraform/OpenTofu](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli) installed and configured with [Scaleway Terraform/OpenTofu Provider](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs) for this part.
569+
You must have [Terraform/OpenTofu](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli) installed and configured with [Scaleway Terraform](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs) or [OpenTofu](https://search.opentofu.org/provider/opentofu/scaleway/latest) Provider for this part.
570570
</Message>
571571

572572
### Initialize the project

tutorials/use-cockpit-with-terraform/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ In this tutorial, you will learn how to get started with Cockpit using a Terrafo
2525
- A Scaleway account logged into the [console](https://console.scaleway.com)
2626
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2727
- [Configured an SSH key](/organizations-and-projects/how-to/create-ssh-key/#how-to-generate-an-ed25519-ssh-key-pair-on-macos-and-linux)
28-
- [Installed Terraform/OpenTofu](https://www.terraform.io/downloads.html) on your local machine
28+
- [Installed Terraform](https://www.terraform.io/downloads.html) or [OpenTofu](https://opentofu.org/docs/intro/install/) on your local machine
2929

3030

3131
## Configuring your environment
@@ -67,11 +67,11 @@ Open a terminal on your local machine and clone the `cockpit-terraform` reposito
6767
```
6868

6969
```
70-
Terraform/OpenTofu used the selected providers to generate the following execution plan.
70+
Terraform used the selected providers to generate the following execution plan.
7171
Resource actions are indicated with the following symbols:
7272
+ create
7373
74-
Terraform/OpenTofu will perform the following actions:
74+
Terraform will perform the following actions:
7575
7676
# grafana_folder.folder_test will be created
7777
+ resource "grafana_folder" "folder_test" {
@@ -140,7 +140,7 @@ Open a terminal on your local machine and clone the `cockpit-terraform` reposito
140140
Plan: 5 to add, 0 to change, 0 to destroy.
141141
142142
Do you want to perform these actions?
143-
Terraform/OpenTofu will perform the actions described above.
143+
Terraform will perform the actions described above.
144144
Only 'yes' will be accepted to approve.
145145
```
146146
4. Type `yes` and Enter to apply the changes. An output similar to the following displays:

tutorials/waypoint-plugin-scaleway/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ A list of all options can be found in [container plugin documentation](https://g
7373

7474
- A Scaleway account logged into the [console](https://console.scaleway.com)
7575
- Installed [Docker](https://www.docker.com/)
76-
- Installed [Terraform/OpenTofu](https://developer.hashicorp.com/terraform/downloads)
76+
- Installed [Terraform](https://developer.hashicorp.com/terraform/downloads) or [OpenTofu](https://opentofu.org/docs/intro/install/)
7777
- Installed [Waypoint](https://developer.hashicorp.com/waypoint/downloads)
7878
- Installed [`jq`](https://github.com/jqlang/jq)
7979
- Installed the Waypoint plugin for Scaleway

0 commit comments

Comments
 (0)