website: Syntax highlighting for "mysql" provider docs
This commit is contained in:
parent
2933123a62
commit
22110ee73f
|
@ -18,7 +18,7 @@ Use the navigation to the left to read about the available resources.
|
||||||
|
|
||||||
The following is a minimal example:
|
The following is a minimal example:
|
||||||
|
|
||||||
```
|
```hcl
|
||||||
# Configure the MySQL provider
|
# Configure the MySQL provider
|
||||||
provider "mysql" {
|
provider "mysql" {
|
||||||
endpoint = "my-database.example.com:3306"
|
endpoint = "my-database.example.com:3306"
|
||||||
|
@ -36,7 +36,7 @@ This provider can be used in conjunction with other resources that create
|
||||||
MySQL servers. For example, ``aws_db_instance`` is able to create MySQL
|
MySQL servers. For example, ``aws_db_instance`` is able to create MySQL
|
||||||
servers in Amazon's RDS service.
|
servers in Amazon's RDS service.
|
||||||
|
|
||||||
```
|
```hcl
|
||||||
# Create a database server
|
# Create a database server
|
||||||
resource "aws_db_instance" "default" {
|
resource "aws_db_instance" "default" {
|
||||||
engine = "mysql"
|
engine = "mysql"
|
||||||
|
|
|
@ -19,7 +19,7 @@ on your database resources as an extra safety measure.
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```
|
```hcl
|
||||||
resource "mysql_database" "app" {
|
resource "mysql_database" "app" {
|
||||||
name = "my_awesome_app"
|
name = "my_awesome_app"
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ a user on a MySQL server.
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```
|
```hcl
|
||||||
resource "mysql_user" "jdoe" {
|
resource "mysql_user" "jdoe" {
|
||||||
user = "jdoe"
|
user = "jdoe"
|
||||||
host = "example.com"
|
host = "example.com"
|
||||||
|
|
|
@ -16,7 +16,7 @@ server.
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```
|
```hcl
|
||||||
resource "mysql_user" "jdoe" {
|
resource "mysql_user" "jdoe" {
|
||||||
user = "jdoe"
|
user = "jdoe"
|
||||||
host = "example.com"
|
host = "example.com"
|
||||||
|
|
Loading…
Reference in New Issue