Skip to content

Commit 1348276

Browse files
Jasmin Gacicstack72
authored andcommitted
provider/profitbricks Doc update (hashicorp#11643)
* Terraform ProfitBricks Builder * make fmt * Merge remote-tracking branch 'upstream/master' into terraform-provider-profitbricks # Conflicts: # command/internal_plugin_list.go * Addressing PR remarks * Removed importers * Added ProfitBricks Data Sources * Added documentation * Updated to REST v3: - nat parameter for Nics - availabilityZone for Volumes Minor code clean up * Minor code clean up * Fixed typo in volume documentation * make fmt * Addressing requested changes * Added a step in load balancer tests in CheckDestroy where we are making sure that the test doesn't leave dangling resources in ProfitBricks * Changed expected image name * Fixed data center test Code clean up * Added missing parameter to ProfitBricks provider docs.
1 parent ab2c1d9 commit 1348276

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

website/source/docs/providers/profitbricks/index.html.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ The provider needs to be configured with proper credentials before it can be use
2121
```
2222
$ export PROFITBRICKS_USERNAME="profitbricks_username"
2323
$ export PROFITBRICKS_PASSWORD="profitbricks_password"
24+
$ export PROFITBRICKS_API_URL="profitbricks_rest_url"
2425
```
2526

2627
Or you can provide your credentials like this:
@@ -35,6 +36,7 @@ The credentials provided in `.tf` file will override credentials in the environm
3536
provider "profitbricks" {
3637
username = "profitbricks_username"
3738
password = "profitbricks_password"
39+
endpoint = "profitbricks_rest_url"
3840
retries = 100
3941
}
4042
@@ -53,6 +55,8 @@ The following arguments are supported:
5355

5456
* `password` - (Required) If omitted, the `PROFITBRICKS_PASSWORD` environment variable is used.
5557

58+
* `endpoint` - (Required) If omitted, the `PROFITBRICKS_API_URL` environment variable is used.
59+
5660
* `retries` - (Optional) Number of retries while waiting for a resource to be provisioned. Default value is 50.
5761

5862

0 commit comments

Comments
 (0)