-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update descriptions for mysql resources and data sources (#2021)
- Loading branch information
1 parent
7722fc4
commit 0617fd3
Showing
20 changed files
with
114 additions
and
114 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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
data "aiven_mysql" "mysql1" { | ||
project = data.aiven_project.foo.project | ||
service_name = "my-mysql1" | ||
data "aiven_mysql" "example_mysql" { | ||
project = aiven_project.example_project.project | ||
service_name = "example-mysql" | ||
} |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
data "aiven_mysql_database" "mydatabase" { | ||
project = aiven_project.myproject.project | ||
service_name = aiven_mysql.mymysql.service_name | ||
database_name = "<DATABASE_NAME>" | ||
data "aiven_mysql_database" "example_database" { | ||
project = aiven_project.example_project.project | ||
service_name = aiven_mysql.example_mysql.service_name | ||
database_name = "example-database" | ||
} | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
data "aiven_mysql_user" "user" { | ||
service_name = "my-service" | ||
project = "my-project" | ||
username = "user1" | ||
data "aiven_mysql_user" "example_mysql_user" { | ||
service_name = aiven_mysql.example_mysql.service_name | ||
project = aiven_project.example_project.project | ||
username = "example-mysql-user" | ||
} |
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 |
---|---|---|
@@ -1 +1 @@ | ||
terraform import aiven_mysql.mysql1 project/service_name | ||
terraform import aiven_mysql.example_mysql PROJECT/SERVICE_NAME |
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 |
---|---|---|
@@ -1 +1 @@ | ||
terraform import aiven_mysql_database.mydatabase PROJECT/SERVICE_NAME/DATABASE_NAME | ||
terraform import aiven_mysql_database.example_database PROJECT/SERVICE_NAME/DATABASE_NAME |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
resource "aiven_mysql_database" "mydatabase" { | ||
project = aiven_project.myproject.project | ||
service_name = aiven_mysql.mymysql.service_name | ||
database_name = "<DATABASE_NAME>" | ||
resource "aiven_mysql_database" "example_mysql_database" { | ||
project = data.aiven_project.example_project.project | ||
service_name = aiven_mysql.example_mysql.service_name | ||
database_name = "example-database" | ||
} |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
resource "aiven_mysql_user" "foo" { | ||
service_name = aiven_mysql.bar.service_name | ||
project = "my-project" | ||
username = "user-1" | ||
password = "Test$1234" | ||
resource "aiven_mysql_user" "example_mysql_user" { | ||
service_name = aiven_mysql.example_mysql.service_name | ||
project = data.aiven_project.example_project.project | ||
username = "example-mysql-user" | ||
password = var.service_user_pw | ||
} |
Oops, something went wrong.