You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/blog/highly-available-nfs-workload-on-hpe-greenlake-for-private-cloud-enterprise-using-serviceguard-for-linux.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,11 +53,9 @@ You can create a virtual machine in the Virtual Machines service of HPE GreenLak
53
53
## Building a Terraform configuration file from scratch
54
54
55
55
Let’s start building this Terraform (TF) file using your favourite editor.
56
-
57
56
58
57
### Selecting a Terraform provider
59
58
60
-
61
59
The first section of the file will enumerate the “providers” you rely upon for building your infrastructure, and they could be multiple providers in a single TF file. In the case here, you only have the HPE GreenLake provider referenced as hpe/hpegl in the official Terraform registry.
62
60
The first lines of your Terraform configuration file should look like this:
63
61
@@ -74,9 +72,7 @@ terraform {
74
72
}
75
73
```
76
74
77
-
You can find out more about the HPE GreenLake Terraform provider from its Terraform Registry page:
78
-
79
-
https://registry.terraform.io/providers/HPE/hpegl/latest This page also provides a link to the GitHub repository corresponding to this provider.
75
+
You can find out more about the HPE GreenLake Terraform provider from its [Terraform Registry page](https://registry.terraform.io/providers/HPE/hpegl/latest). This page also provides a link to the GitHub repository corresponding to this provider.
80
76
The docs folder is your best source of information for using the different data sources and resources provided by the provider. If you navigate to the resources section, you will see that one resource you can configure with this provider is a VM instance. This article will focus on this resource.
81
77
Note: Because this is open source, do not hesitate to open issues, or even a pull request, if you identify an issue.
82
78
@@ -195,7 +191,7 @@ Your next step with the TF file is to query the HPE GreenLake provider to collec
195
191
196
192
• Folder Code
197
193
198
-
For this, you will use the Terraform data statements. For example, the following statement retrieves the Cloud ID and stores it (in variable called cloud), which we can later retrieve using: data.hpegl_vmaas_cloud.cloud.id
194
+
For this, you will use the Terraform data statements. For example, the following statement retrieves the Cloud ID and stores it (in variable called cloud), which we can later retrieve using: data.hpegl\_vmass\_cloud.cloud.id
0 commit comments