website: syntax highlighting and hclfmt layout for TLS provider
This commit is contained in:
parent
af05871e65
commit
853b411840
|
@ -26,7 +26,7 @@ Use the navigation to the left to read about the available resources.
|
|||
|
||||
## Example Usage
|
||||
|
||||
```
|
||||
```hcl
|
||||
## This example create a self-signed certificate for a development
|
||||
## environment.
|
||||
## THIS IS NOT RECOMMENDED FOR PRODUCTION SERVICES.
|
||||
|
|
|
@ -26,10 +26,10 @@ resource form.
|
|||
|
||||
## Example Usage
|
||||
|
||||
```
|
||||
```hcl
|
||||
resource "tls_cert_request" "example" {
|
||||
key_algorithm = "ECDSA"
|
||||
private_key_pem = "${file(\"private_key.pem\")}"
|
||||
private_key_pem = "${file("private_key.pem")}"
|
||||
|
||||
subject {
|
||||
common_name = "example.com"
|
||||
|
|
|
@ -17,13 +17,12 @@ or when deployed internally to an organization.
|
|||
|
||||
## Example Usage
|
||||
|
||||
```
|
||||
```hcl
|
||||
resource "tls_locally_signed_cert" "example" {
|
||||
cert_request_pem = "${file(\"cert_request.pem\")}"
|
||||
|
||||
cert_request_pem = "${file("cert_request.pem")}"
|
||||
ca_key_algorithm = "ECDSA"
|
||||
ca_private_key_pem = "${file(\"ca_private_key.pem\")}"
|
||||
ca_cert_pem = "${file(\"ca_cert.pem\")}"
|
||||
ca_private_key_pem = "${file("ca_private_key.pem")}"
|
||||
ca_cert_pem = "${file("ca_cert.pem")}"
|
||||
|
||||
validity_period_hours = 12
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ state and does not create any external managed resources.
|
|||
|
||||
## Example Usage
|
||||
|
||||
```
|
||||
```hcl
|
||||
resource "tls_private_key" "example" {
|
||||
algorithm = "ECDSA"
|
||||
ecdsa_curve = "P384"
|
||||
|
|
|
@ -27,7 +27,7 @@ Load Balancer*, *Elastic Beanstalk*, *CloudFront* or *OpsWorks*.
|
|||
|
||||
## Example Usage
|
||||
|
||||
```
|
||||
```hcl
|
||||
resource "tls_self_signed_cert" "example" {
|
||||
key_algorithm = "ECDSA"
|
||||
private_key_pem = "${file(\"private_key.pem\")}"
|
||||
|
|
Loading…
Reference in New Issue