Skip to content

Commit

Permalink
Removed redundant general provider set up information. Fixed Service …
Browse files Browse the repository at this point in the history
…Subcategories

Signed-off-by: Ian Reyes <[email protected]>
  • Loading branch information
ianre committed Nov 27, 2023
1 parent 75385af commit 1ec0e0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 43 deletions.
2 changes: 1 addition & 1 deletion website/docs/d/logs_router_tenant.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: "ibm"
page_title: "IBM : ibm_logs_router_tenant"
description: |-
Get information about logs_router_tenant
subcategory: "IBM Logs Router"
subcategory: "Logs Router"
---

# ibm_logs_router_tenant
Expand Down
43 changes: 1 addition & 42 deletions website/docs/r/logs_router_tenant.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: "ibm"
page_title: "IBM : ibm_logs_router_tenant"
description: |-
Manages logs_router_tenant.
subcategory: "IBM Logs Router"
subcategory: "Logs Router"
---

# ibm_logs_router_tenant
Expand Down Expand Up @@ -45,47 +45,6 @@ After your resource is created, you can read values from the listed arguments an
* `updated_at` - (String) time stamp the tenant was last updated.
* Constraints: The maximum length is `36` characters. The minimum length is `1` character. The value must match regular expression `/[0-9,:,.,-,T,Z]/`.

## Provider Configuration

The IBM Cloud provider offers a flexible means of providing credentials for authentication. The following methods are supported, in this order, and explained below:

- Static credentials
- Environment variables

To find which credentials are required for this resource, see the service table [here](https://cloud.ibm.com/docs/ibm-cloud-provider-for-terraform?topic=ibm-cloud-provider-for-terraform-provider-reference#required-parameters).

### Static credentials

You can provide your static credential by adding the `ibmcloud_api_key` argument in the IBM Cloud provider block.

Usage:
```
provider "ibm" {
ibmcloud_api_key = ""
}
```

### Environment variables

You can provide your credentials by exporting the `IC_API_KEY` environment variable, representing your IBM Cloud platform API key.

```
provider "ibm" {}
```

Usage:
```
export IC_API_KEY="ibmcloud_api_key"
terraform plan
```

Note:

1. Create or find your `ibmcloud_api_key` [here](https://cloud.ibm.com/iam/apikeys).
- Select `My IBM Cloud API Keys` option from view dropdown for `ibmcloud_api_key`

For more informaton, see [here](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs#authentication).

## Import

You can import the `ibm_logs_router_tenant` resource by using `id`. Unique ID of the created instance.
Expand Down

0 comments on commit 1ec0e0d

Please sign in to comment.