Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Fix markdown syntax for some of the HCL examples #679

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/docs/d/access_control_policies.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Describes a list of access control policies.

## Example Usage

``` hcl
```hcl
data "nutanix_access_control_policies" "test" {}
```

Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/access_control_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Describes an Access Control Policy.

## Example Usage

``` hcl
```hcl
resource "nutanix_access_control_policy" "test" {
name = "NAME OF ACCESS CONTROL POLICY"
description = "DESCRIPTION OF THE ACCESS CONTROL POLICY"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/address_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a datasource to retrieve a address group.

## Example Usage

``` hcl
```hcl
resource "nutanix_address_group" "test_address" {
name = "test"
description = "test address groups resource"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/address_groups.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a datasource to retrieve list of address groups.

## Example Usage

``` hcl
```hcl
data "nutanix_address_groups" "addr_groups" {}
```

Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/role.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Describes a Role.

## Example Usage

``` hcl
```hcl
resource "nutanix_role" "test" {
name = "NAME"
description = "DESCRIPTION"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/roles.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Describes a list of roles.

## Example Usage

``` hcl
```hcl
data "nutanix_roles" "test" {}
```

Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/user.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a datasource to retrieve a user based on the input parameters.

## Example Usage

``` hcl
```hcl
resource "nutanix_user" "user" {
directory_service_user {
user_principal_name = "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/user_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a datasource to retrieve a user group based on the input parameters.

## Example Usage

``` hcl
```hcl

//Retrieve by UUID
data "nutanix_user_group" "usergroup" {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/user_groups.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a datasource to retrieve all the user groups.

## Example Usage

``` hcl
```hcl
data "nutanix_user_groups" "usergroups" {}
```

Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/users.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a datasource to retrieve all the users.

## Example Usage

``` hcl
```hcl
resource "nutanix_user" "user" {
directory_service_user {
user_principal_name = "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/access_control_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a resource to create an access control policy based on the input parame

## Example Usage

``` hcl
```hcl
resource "nutanix_access_control_policy" "test" {
name = "NAME OF ACCESS CONTROL POLICY"
description = "DESCRIPTION OF THE ACCESS CONTROL POLICY"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/address_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a resource to create a address group based on the input parameters.

## Example Usage

``` hcl
```hcl
resource "nutanix_address_group" "test_address" {
name = "test"
description = "test address groups resource"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/foundation_central_api_key.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a resource to create a new API key for nodes registration with Foundati

## Example Usage

``` hcl
```hcl
resource "nutanix_foundation_central_api_keys" "new_api_key" {
alias = "<NAME-FOR-API-KEY>"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Image Nodes and Create a cluster out of nodes registered with Foundation Central

## Example Usage

``` hcl
```hcl
resource "nutanix_foundation_central_image_cluster" "img2"{
cluster_name = "test-FC"
cluster_external_ip = "<CLUSTER-IP>"
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/ndb_database.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Provides a resource to create database instance based on the input parameters. F

### NDB database resource with new database server VM

``` hcl
```hcl
resource "nutanix_ndb_database" "dbp" {

// name of database type
Expand Down Expand Up @@ -102,7 +102,7 @@ resource "nutanix_ndb_database" "dbp" {

### NDB database resource to provision HA instance with new database server VM

``` hcl
```hcl
resource "nutanix_ndb_database" "dbp" {
databasetype = "postgres_database"
name = "test-pg-inst-HA-tf"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/role.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a resource to create a role based on the input parameters.

## Example Usage

``` hcl
```hcl
resource "nutanix_role" "test" {
name = "NAME"
description = "DESCRIPTION"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/service_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a resource to create a service group based on the input parameters.

## Example Usage

``` hcl
```hcl
resource "nutanix_service_group" "test" {
name = "test_service_gp"
description = "this is service group"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/subnet.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a resource to create a subnet based on the input parameters. A subnet i

## Example Usage

``` hcl
```hcl
data "nutanix_clusters" "clusters" {
metadata = {
length = 2
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/user.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a resource to create a user based on the input parameters.

## Example Usage

``` hcl
```hcl
resource "nutanix_user" "user" {
directory_service_user {
user_principal_name = "[email protected]"
Expand All @@ -24,7 +24,7 @@ resource "nutanix_user" "user" {
```


``` hcl
```hcl
resource "nutanix_user" "user" {
identity_provider_user {
username = "username"
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/user_groups.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Provides a resource to add a User group to the system..

## Example Usage

``` hcl
```hcl
resource "nutanix_user_groups" "user_grp" {
directory_service_user_group{
distinguished_name = "<distinguished name for the user group>"
Expand All @@ -21,7 +21,7 @@ resource "nutanix_user_groups" "user_grp" {
```


``` hcl
```hcl
resource "nutanix_user_groups" "user_grp" {
saml_user_group{
name = "<name of saml group>"
Expand Down