Skip to content

Commit

Permalink
documentation updates (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasiliyskysql authored Jul 12, 2024
1 parent 6135fd2 commit aab402a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ on darwin_arm64

## Create a new SkySQL service

1. Go to MariaDB ID: [https://id.mariadb.com/account/api/](https://id.mariadb.com/account/api/) and generate an API key
1. Go to User API Keys Page: [https://app.skysql.com/user-profile/api-keys](https://app.skysql.com/user-profile/api-keys) and generate an API key

2. Set environment variables:

Expand Down Expand Up @@ -281,7 +281,7 @@ output "skysql_credentials" {
# Example how you can generate a command line for the database connection
output "skysql_cmd" {
value = "mariadb --host ${data.skysql_service.default.fqdn} --port 3306 --user ${data.skysql_service.default.service_id} -p --ssl-ca ~/Downloads/skysql_chain_2022.pem"
value = "mariadb --host ${data.skysql_service.default.fqdn} --port 3306 --user ${data.skysql_service.default.service_id} -p --ssl-verify-server-cert"
}
```

Expand Down
2 changes: 1 addition & 1 deletion examples/global-replication/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ resource "skysql_allow_list" "default" {

# Example how you can generate a command line for the database connection
output "skysql_cmd" {
value = "mariadb --host ${data.skysql_service.default.fqdn} --port 3306 --user ${data.skysql_service.default.service_id} -p --ssl-ca ~/Downloads/skysql_chain_2022.pem"
value = "mariadb --host ${data.skysql_service.default.fqdn} --port 3306 --user ${data.skysql_service.default.service_id} -p --ssl-verify-server-cert"
}


2 changes: 1 addition & 1 deletion examples/provider/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ output "skysql_credentials" {

# Example how you can generate a command line for the database connection
output "skysql_cmd" {
value = "mariadb --host ${data.skysql_service.default.fqdn} --port 3306 --user ${data.skysql_service.default.service_id} -p --ssl-ca ~/Downloads/skysql_chain_2022.pem"
value = "mariadb --host ${data.skysql_service.default.fqdn} --port 3306 --user ${data.skysql_service.default.service_id} -p --ssl-verify-server-cert"
}
2 changes: 1 addition & 1 deletion templates/index.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ on darwin_arm64

## Create a new SkySQL service

1. Go to MariaDB ID: [https://id.mariadb.com/account/api/](https://id.mariadb.com/account/api/) and generate an API key
1. Go to User API Keys Page: [https://app.skysql.com/user-profile/api-keys](https://app.skysql.com/user-profile/api-keys) and generate an API key

2. Set environment variables:

Expand Down

0 comments on commit aab402a

Please sign in to comment.