|
| 1 | +# Opt-Out Integrations on IBM Cloud cluster |
| 2 | + |
| 3 | +Use this IBM Cloud Provider Plug-in for Terraform template to integrate Logging, Monitoring and Activity Tracker Instances on IBM Cloud Clusters |
| 4 | +## Template functionalities |
| 5 | + |
| 6 | +1. [main.tf](main.tf) |
| 7 | + |
| 8 | + - Integrates the cluster with an IBM Cloud Log Analysis instance. |
| 9 | + - Integrates the cluster with an IBM Cloud Monitoring instance. |
| 10 | + |
| 11 | +2. [logging.tf](logging.tf) - Provisions or retrieves the Log Analysis instance. |
| 12 | + |
| 13 | +3. [monitoring.tf](monitoring.tf) - Provisions or retrieves the Monitoring instance.ded before creating cluster. |
| 14 | + |
| 15 | +## Inputs |
| 16 | + |
| 17 | +Review the following variables that you can customize in your Terraform templates to create the related IBM Cloud resources for your secure OpenShift cluster. |
| 18 | + |
| 19 | +|Name|Description|Type|Default|Required| |
| 20 | +|-----|----------|----|-------|--------| |
| 21 | +|ibmcloud_api_key|[IBM Cloud IAM API key](https://cloud.ibm.com/docs/account?topic=account-userapikey#create_user_key).|string|N/A|Yes| |
| 22 | +|region|[IBM Cloud region for the VPC cluster](https://cloud.ibm.com/docs/openshift?topic=openshift-regions-and-zones#zones-vpc).|string|N/A|Yes| |
| 23 | +|resource_group|Name of the [IBM Cloud resource group](https://cloud.ibm.com/docs/account?topic=account-rgs) to create the resources in. If set to `null`, the default resource group is used.|string|`null`|No| |
| 24 | +|resource_prefix|Prefix to use for created resource names.|string|N/A|Yes| |
| 25 | +|cluster|Id of the cluster.|string|N/A|Yes| |
| 26 | +|monitoring_instance| GUID of the IBM Cloud Monitoring instance. If set to `null`, an instance is created with the following naming convention: `<var.resource_prefix>-sysdig`|string|`null`|No| |
| 27 | +|monitoring_access_key|The IBM Cloud Monitoring ingestion key that you want to use for your configuration.|string|N/A|No| |
| 28 | +|logging_instance|GUID of IBM Cloud Log Analysis instance. If set to `null`, an instance is created with the following naming convention: `<var.resource_prefix>-logdna`|string|`null`|No| |
| 29 | +|logging_ingestion_key|The IBM Cloud Log Analysis ingestion key that you want to use for your configuration.|string|N/A|No| |
| 30 | +|private_endpoint|Add this option to connect to your Log Analysis and Monitoring service instances through the private cloud service endpoint.|bool|N/A|No| |
| 31 | +|activity_tracker_instance|GUID of the IBM Cloud Activity Tracker instance. If set to `null`, a instance is created with the following naming convention: `<var.resource_prefix>-at`|string|`null`|No| |
| 32 | + |
| 33 | +## Usage |
| 34 | + |
| 35 | +```bash |
| 36 | +terraform init |
| 37 | + |
| 38 | +terraform plan |
| 39 | + |
| 40 | +terraform apply |
| 41 | + |
| 42 | +terraform destroy |
| 43 | +``` |
0 commit comments