Skip to content

Commit d405bfa

Browse files
committed
[3.1.4] Service Tags support added
1 parent 03eeacf commit d405bfa

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

docs/index.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Use the navigation to the left to read about the available resources.
2222

2323
### Automated Installation (Recommended)
2424

25-
The Terraform Provider for SkySQL listed on the [Terraform Registry](https://registry.terraform.io/providers/skysqlinc/skysql-beta/).
25+
The Terraform Provider for SkySQL listed on the [Terraform Registry](https://registry.terraform.io/providers/skysqlinc/beta/).
2626

2727
#### Create a Terraform configuration file
2828

@@ -34,7 +34,7 @@ Providers listed on the Terraform Registry can be automatically downloaded when
3434
terraform {
3535
required_providers {
3636
skysql = {
37-
source = "registry.terraform.io/skysqlinc/skysql-beta"
37+
source = "registry.terraform.io/skysqlinc/beta"
3838
}
3939
}
4040
}
@@ -48,7 +48,7 @@ You can use `version` locking and operators to require specific versions of the
4848
terraform {
4949
required_providers {
5050
skysql = {
51-
source = "registry.terraform.io/skysqlinc/skysql-beta"
51+
source = "registry.terraform.io/skysqlinc/beta"
5252
version = ">= x.y.z"
5353
}
5454
}
@@ -83,20 +83,20 @@ The following examples use Bash on Linux (x64).
8383
> `<registry>/<namespace>/<service>/<version>/<OS_arch>/`
8484

8585
```console
86-
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/skysql-beta
86+
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/beta
8787
```
8888

8989
3. Copy the plugin to a target system and move to the Terraform plugins directory.
9090

9191
```console
92-
mv terraform-provider-beta_${RELEASE}_${OS}_${ARCH}.zip ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/skysql-beta/
92+
mv terraform-provider-beta_${RELEASE}_${OS}_${ARCH}.zip ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/beta/
9393

9494
```
9595

9696
4. Verify the presence of the plugin in the Terraform plugins directory.
9797

9898
```console
99-
ls ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/skysql-beta/
99+
ls ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/beta/
100100
```
101101

102102
#### macOS
@@ -113,7 +113,7 @@ The following example uses Bash (default) on macOS (ARM).
113113

114114
```console
115115
export RELEASE=x.y.z
116-
wget -q https://github.com/skysqlinc/terraform-provider-beta/releases/download/v${RELEASE}/terraform-provider-skysql-beta_${RELEASE}_darwin_arm64.zip
116+
wget -q https://github.com/skysqlinc/terraform-provider-beta/releases/download/v${RELEASE}/terraform-provider-beta_${RELEASE}_darwin_arm64.zip
117117
```
118118

119119
3. Create a directory for the provider.
@@ -125,30 +125,30 @@ The following example uses Bash (default) on macOS (ARM).
125125
> `<registry>/<namespace>/<service>/<version>/<OS_arch>/`
126126

127127
```console
128-
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/skysql-beta/
128+
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/beta/
129129
```
130130

131131
4. Copy the plugin to a target system and move to the Terraform plugins directory.
132132

133133
```console
134-
mv terraform-provider-beta_${RELEASE}_darwin_arm64.zip ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/skysql-beta/
134+
mv terraform-provider-beta_${RELEASE}_darwin_arm64.zip ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/beta/
135135
```
136136

137137
5. Verify the presence of the plugin in the Terraform plugins directory.
138138

139139
```console
140-
ls ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/skysql-beta/
140+
ls ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/beta/
141141
```
142142

143143
## Configure the Terraform Configuration Files
144144

145-
In order to use the `skysql-beta` terraform provider, you need to configure the provider in your Terraform configuration files.
145+
In order to use the `beta` terraform provider, you need to configure the provider in your Terraform configuration files.
146146

147147
```hcl
148148
terraform {
149149
required_providers {
150150
skysql = {
151-
source = "registry.terraform.io/skysqlinc/skysql-beta"
151+
source = "registry.terraform.io/skysqlinc/beta"
152152
}
153153
}
154154
}
@@ -160,7 +160,7 @@ or you can specify the provider version.
160160
terraform {
161161
required_providers {
162162
skysql = {
163-
source = "registry.terraform.io/skysqlinc/skysql-beta"
163+
source = "registry.terraform.io/skysqlinc/beta"
164164
version = ">= x.y.z"
165165
}
166166
}
@@ -177,9 +177,9 @@ $ terraform init
177177
Initializing the backend...
178178

179179
Initializing provider plugins...
180-
- Finding latest version of skysqlinc/skysql-beta...
181-
- Installing skysqlinc/skysql-beta x.y.z...
182-
- Installed skysqlinc/skysql-beta x.y.z (unauthenticated)
180+
- Finding latest version of skysqlinc/beta...
181+
- Installing skysqlinc/beta x.y.z...
182+
- Installed skysqlinc/beta x.y.z (unauthenticated)
183183
...
184184

185185
Terraform has been successfully initialized!
@@ -195,7 +195,7 @@ To find the provider version, navigate to the working directory of your Terrafor
195195
$ terraform version
196196
Terraform x.y.z
197197
on darwin_arm64
198-
+ provider registry.terraform.io/skysqlinc/skysql-beta x.y.z
198+
+ provider registry.terraform.io/skysqlinc/beta x.y.z
199199
```
200200

201201
## Create a new SkySQL service

templates/index.md.tmpl

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Use the navigation to the left to read about the available resources.
2222

2323
### Automated Installation (Recommended)
2424

25-
The Terraform Provider for SkySQL listed on the [Terraform Registry](https://registry.terraform.io/providers/skysqlinc/skysql-beta/).
25+
The Terraform Provider for SkySQL listed on the [Terraform Registry](https://registry.terraform.io/providers/skysqlinc/{{.ProviderShortName}}/).
2626

2727
#### Create a Terraform configuration file
2828

@@ -34,7 +34,7 @@ Providers listed on the Terraform Registry can be automatically downloaded when
3434
terraform {
3535
required_providers {
3636
skysql = {
37-
source = "registry.terraform.io/skysqlinc/skysql-beta"
37+
source = "registry.terraform.io/skysqlinc/{{.ProviderShortName}}"
3838
}
3939
}
4040
}
@@ -48,7 +48,7 @@ You can use `version` locking and operators to require specific versions of the
4848
terraform {
4949
required_providers {
5050
skysql = {
51-
source = "registry.terraform.io/skysqlinc/skysql-beta"
51+
source = "registry.terraform.io/skysqlinc/{{.ProviderShortName}}"
5252
version = ">= x.y.z"
5353
}
5454
}
@@ -83,20 +83,20 @@ The following examples use Bash on Linux (x64).
8383
> `<registry>/<namespace>/<service>/<version>/<OS_arch>/`
8484

8585
```console
86-
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/skysql-beta
86+
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/{{.ProviderShortName}}
8787
```
8888

8989
3. Copy the plugin to a target system and move to the Terraform plugins directory.
9090

9191
```console
92-
mv {{.ProviderName}}_${RELEASE}_${OS}_${ARCH}.zip ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/skysql-beta/
92+
mv {{.ProviderName}}_${RELEASE}_${OS}_${ARCH}.zip ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/{{.ProviderShortName}}/
9393

9494
```
9595

9696
4. Verify the presence of the plugin in the Terraform plugins directory.
9797

9898
```console
99-
ls ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/skysql-beta/
99+
ls ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/{{.ProviderShortName}}/
100100
```
101101

102102
#### macOS
@@ -113,7 +113,7 @@ The following example uses Bash (default) on macOS (ARM).
113113

114114
```console
115115
export RELEASE=x.y.z
116-
wget -q https://github.com/skysqlinc/{{.ProviderName}}/releases/download/v${RELEASE}/terraform-provider-skysql-beta_${RELEASE}_darwin_arm64.zip
116+
wget -q https://github.com/skysqlinc/{{.ProviderName}}/releases/download/v${RELEASE}/terraform-provider-{{.ProviderShortName}}_${RELEASE}_darwin_arm64.zip
117117
```
118118

119119
3. Create a directory for the provider.
@@ -125,30 +125,30 @@ The following example uses Bash (default) on macOS (ARM).
125125
> `<registry>/<namespace>/<service>/<version>/<OS_arch>/`
126126

127127
```console
128-
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/skysql-beta/
128+
mkdir -p ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/{{.ProviderShortName}}/
129129
```
130130

131131
4. Copy the plugin to a target system and move to the Terraform plugins directory.
132132

133133
```console
134-
mv {{.ProviderName}}_${RELEASE}_darwin_arm64.zip ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/skysql-beta/
134+
mv {{.ProviderName}}_${RELEASE}_darwin_arm64.zip ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/{{.ProviderShortName}}/
135135
```
136136

137137
5. Verify the presence of the plugin in the Terraform plugins directory.
138138

139139
```console
140-
ls ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/skysql-beta/
140+
ls ~/.terraform.d/plugins/registry.terraform.io/skysqlinc/{{.ProviderShortName}}/
141141
```
142142

143143
## Configure the Terraform Configuration Files
144144

145-
In order to use the `skysql-beta` terraform provider, you need to configure the provider in your Terraform configuration files.
145+
In order to use the `{{.ProviderShortName}}` terraform provider, you need to configure the provider in your Terraform configuration files.
146146

147147
```hcl
148148
terraform {
149149
required_providers {
150150
skysql = {
151-
source = "registry.terraform.io/skysqlinc/skysql-beta"
151+
source = "registry.terraform.io/skysqlinc/{{.ProviderShortName}}"
152152
}
153153
}
154154
}
@@ -160,7 +160,7 @@ or you can specify the provider version.
160160
terraform {
161161
required_providers {
162162
skysql = {
163-
source = "registry.terraform.io/skysqlinc/skysql-beta"
163+
source = "registry.terraform.io/skysqlinc/{{.ProviderShortName}}"
164164
version = ">= x.y.z"
165165
}
166166
}
@@ -177,9 +177,9 @@ $ terraform init
177177
Initializing the backend...
178178

179179
Initializing provider plugins...
180-
- Finding latest version of skysqlinc/skysql-beta...
181-
- Installing skysqlinc/skysql-beta x.y.z...
182-
- Installed skysqlinc/skysql-beta x.y.z (unauthenticated)
180+
- Finding latest version of skysqlinc/{{.ProviderShortName}}...
181+
- Installing skysqlinc/{{.ProviderShortName}} x.y.z...
182+
- Installed skysqlinc/{{.ProviderShortName}} x.y.z (unauthenticated)
183183
...
184184

185185
Terraform has been successfully initialized!
@@ -195,7 +195,7 @@ To find the provider version, navigate to the working directory of your Terrafor
195195
$ terraform version
196196
Terraform x.y.z
197197
on darwin_arm64
198-
+ provider registry.terraform.io/skysqlinc/skysql-beta x.y.z
198+
+ provider registry.terraform.io/skysqlinc/{{.ProviderShortName}} x.y.z
199199
```
200200

201201
## Create a new SkySQL service

0 commit comments

Comments
 (0)