Skip to content

Commit a16fa68

Browse files
authored
docs: apply hcl formatting (#100)
Applies HCL formatting with `1errafmt`. Signed-off-by: Ryan Johnson <[email protected]>
1 parent adde7bd commit a16fa68

File tree

9 files changed

+34
-34
lines changed

9 files changed

+34
-34
lines changed

docs/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ machine. Check the [requirements][requirements] before proceeding.
4848
4. Run `go install` to install the development binary.
4949

5050
[golang-install]: https://golang.org/doc/install
51-
[requirements]: https://github.com/vmware/terraform-provider-hcx#requirements
51+
[requirements]: https://github.com/vmware/terraform-provider-hcx#requirements

docs/data-sources/compute_profile.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ appliances when a Service Mesh is added.
88

99
```hcl
1010
data "hcx_compute_profile" "vmc_cp" {
11-
vcenter = hcx_site_pairing.C2C1toC2C2.local_vc
12-
name = "ComputeProfile(vcenter)"
11+
vcenter = hcx_site_pairing.C2C1toC2C2.local_vc
12+
name = "ComputeProfile(vcenter)"
1313
}
1414
1515
output "compute_profile_vmc" {
16-
value = data.hcx_compute_profile.vmc_cp
16+
value = data.hcx_compute_profile.vmc_cp
1717
}
1818
```
1919

docs/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Providers listed on the Terraform Registry can be automatically downloaded when
2626
terraform {
2727
required_providers {
2828
hcx = {
29-
source = "vmware/hcx"
29+
source = "vmware/hcx"
3030
}
3131
}
3232
required_version = ">= x.y.z"
@@ -269,4 +269,4 @@ on linux_amd64
269269

270270
[releases]: https://github.com/vmware/terraform-provider-hcx/releases
271271
[terraform-provider-versioning]: https://developer.hashicorp.com/terraform/language/providers/configuration#version-provider-versions
272-
[terraform-registry]: https://registry.terraform.io
272+
[terraform-registry]: https://registry.terraform.io

docs/resources/activation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ An activation key is mandatory to use a HCX system.
66

77
```hcl
88
resource "hcx_activation" "activation" {
9-
activationkey = "*****-*****-*****-*****-*****"
9+
activationkey = "*****-*****-*****-*****-*****"
1010
}
1111
```
1212

docs/resources/location.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ HCX sites are visually represented in the Dashboard.
1010

1111
```hcl
1212
resource "hcx_location" "location" {
13-
city = "Paris"
14-
country = "France"
15-
province = "Ile-de-France"
16-
latitude = 48.86669293
17-
longitude = 2.333335326
13+
city = "Paris"
14+
country = "France"
15+
province = "Ile-de-France"
16+
latitude = 48.86669293
17+
longitude = 2.333335326
1818
}
1919
```
2020

docs/resources/rolemapping.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ HCX operations.
77

88
```hcl
99
resource "hcx_rolemapping" "rolemapping" {
10-
sso = hcx_sso.sso.id
11-
admin {
12-
user_group = "vsphere.local\\Administrators"
13-
}
14-
admin {
15-
user_group = "example.com\\Administrators"
16-
}
17-
enterprise {
18-
user_group = "example.com\\Administrators"
19-
}
10+
sso = hcx_sso.sso.id
11+
admin {
12+
user_group = "vsphere.local\\Administrators"
13+
}
14+
admin {
15+
user_group = "example.com\\Administrators"
16+
}
17+
enterprise {
18+
user_group = "example.com\\Administrators"
19+
}
2020
}
2121
```
2222

docs/resources/site_pairing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ reverse migrations, are always initiated from the HCX Connector at the source.
1313

1414
```hcl
1515
resource "hcx_site_pairing" "site1" {
16-
url = "https://hcx-cloud-01b.example.com"
17-
username = "[email protected]"
18-
password = "VMware1!"
16+
url = "https://hcx-cloud-01b.example.com"
17+
username = "[email protected]"
18+
password = "VMware1!"
1919
}
2020
2121
output "hcx_site_pairing_site1" {
22-
value = hcx_site_pairing.site1
22+
value = hcx_site_pairing.site1
2323
}
2424
```
2525

docs/resources/vcenter.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ updated, the application service is restarted.
77

88
```hcl
99
resource "hcx_vcenter" "vcenter" {
10-
url = "https://vcsa-01a.example.com"
11-
username = "[email protected]"
12-
password = "VMware1!"
13-
depends_on = [hcx_activation.activation]
10+
url = "https://vcsa-01a.example.com"
11+
username = "[email protected]"
12+
password = "VMware1!"
13+
depends_on = [hcx_activation.activation]
1414
}
1515
```
1616

docs/resources/vmc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ resources to work, (e.g. firewall configuration).
1212

1313
```hcl
1414
resource "hcx_vmc" "example" {
15-
sddc_name = "example"
15+
sddc_name = "example"
1616
}
1717
1818
resource "hcx_site_pairing" "example" {
19-
url = hcx_vmc.example.cloud_url
20-
username = "[email protected]"
21-
password = var.vmc_vcenter_password
19+
url = hcx_vmc.example.cloud_url
20+
username = "[email protected]"
21+
password = var.vmc_vcenter_password
2222
}
2323
```
2424

0 commit comments

Comments
 (0)