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:
|
||||
|
||||
```
|
||||
```hcl
|
||||
# Configure the MySQL provider
|
||||
provider "mysql" {
|
||||
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
|
||||
servers in Amazon's RDS service.
|
||||
|
||||
```
|
||||
```hcl
|
||||
# Create a database server
|
||||
resource "aws_db_instance" "default" {
|
||||
engine = "mysql"
|
||||
|
|
|
@ -19,7 +19,7 @@ on your database resources as an extra safety measure.
|
|||
|
||||
## Example Usage
|
||||
|
||||
```
|
||||
```hcl
|
||||
resource "mysql_database" "app" {
|
||||
name = "my_awesome_app"
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ a user on a MySQL server.
|
|||
|
||||
## Example Usage
|
||||
|
||||
```
|
||||
```hcl
|
||||
resource "mysql_user" "jdoe" {
|
||||
user = "jdoe"
|
||||
host = "example.com"
|
||||
|
|
|
@ -16,7 +16,7 @@ server.
|
|||
|
||||
## Example Usage
|
||||
|
||||
```
|
||||
```hcl
|
||||
resource "mysql_user" "jdoe" {
|
||||
user = "jdoe"
|
||||
host = "example.com"
|
||||
|
|
Loading…
Reference in New Issue