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: docs/index.md
+50
Original file line number
Diff line number
Diff line change
@@ -112,3 +112,53 @@ provider "civo" {
112
112
<aid="credentials_file"></a>
113
113
-`credentials_file` (string) specify a location for a file containing your civo credentials token
114
114
-`token` (String) (**Deprecated**) for legacy reasons the user can still specify the token as an input, but in order to avoid storing that in terraform state we have deprecated this and will be remove in future versions - don't use it.
115
+
116
+
## Configuring Modules
117
+
118
+
Terraform modules allow you to group resources and reuse configurations efficiently. Below are examples of how to configure modules with the Civo provider.
119
+
120
+
### Example Module Usage
121
+
122
+
To use a module with the Civo provider, create a module directory and define your infrastructure in it.
`api_endpoint` (String) The Base URL to use for CIVO API.
158
+
159
+
`region` (String) This sets the default region for all resources. If no default region is set, you will need to specify individually in every resource.
160
+
161
+
162
+
`credentials_file` (string) Specify a location for a file containing your Civo credentials token.
163
+
164
+
`token` (String) (Deprecated) For legacy reasons, the user can still specify the token as an input, but in order to avoid storing that in Terraform state, we have deprecated this and will remove it in future versions—don't use it.
0 commit comments