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
|[ibm_container_cluster.cluster](https://registry.terraform.io/providers/ibm-cloud/ibm/latest/docs/data-sources/container_cluster)| data source |
98
+
|[ibm_container_cluster_config.cluster_config](https://registry.terraform.io/providers/ibm-cloud/ibm/latest/docs/data-sources/container_cluster_config)| data source |
99
+
|[ibm_container_vpc_cluster.cluster](https://registry.terraform.io/providers/ibm-cloud/ibm/latest/docs/data-sources/container_vpc_cluster)| data source |
137
100
138
101
### Inputs
139
102
140
103
| Name | Description | Type | Default | Required |
| <aname="input_name"></a> [name](#input\_name)| A descriptive name used to identify the resource instance. |`string`| n/a | yes |
143
-
| <aname="input_plan"></a> [plan](#input\_plan)| The name of the plan type supported by service. |`string`|`"standard"`| no |
144
-
| <aname="input_resource_group_id"></a> [resource\_group\_id](#input\_resource\_group\_id)| The ID of the resource group where you want to create the service. |`string`| n/a | yes |
145
-
| <aname="input_resource_tags"></a> [resource\_tags](#input\_resource\_tags)| List of resource tag to associate with the instance. |`list(string)`|`[]`| no |
105
+
| <aname="input_access_key"></a> [access\_key](#input\_access\_key)| Access key used by the IBM Cloud Monitoring agent to communicate with the instance |`string`| n/a | yes |
106
+
| <aname="input_chart"></a> [chart](#input\_chart)| The name of the Helm chart to deploy. |`string`|`"sysdig-deploy"`| no |
107
+
| <aname="input_chart_location"></a> [chart\_location](#input\_chart\_location)| The location of the Cloud Monitoring agent helm chart. |`string`|`"https://charts.sysdig.com"`| no |
108
+
| <aname="input_chart_version"></a> [chart\_version](#input\_chart\_version)| The version of the Cloud Monitoring agent helm chart to deploy. |`string`|`"1.79.0"`| no |
109
+
| <aname="input_cloud_monitoring_instance_endpoint_type"></a> [cloud\_monitoring\_instance\_endpoint\_type](#input\_cloud\_monitoring\_instance\_endpoint\_type)| Specify the IBM Cloud Monitoring instance endpoint type (public or private) to use. Used to construct the ingestion endpoint. |`string`|`"private"`| no |
110
+
| <aname="input_cloud_monitoring_instance_region"></a> [cloud\_monitoring\_instance\_region](#input\_cloud\_monitoring\_instance\_region)| The IBM Cloud Monitoring instance region. Used to construct the ingestion endpoint. |`string`| n/a | yes |
111
+
| <aname="input_cluster_config_endpoint_type"></a> [cluster\_config\_endpoint\_type](#input\_cluster\_config\_endpoint\_type)| Specify which type of endpoint to use for for cluster config access: 'default', 'private', 'vpe', 'link'. 'default' value will use the default endpoint of the cluster. |`string`|`"default"`| no |
112
+
| <aname="input_cluster_id"></a> [cluster\_id](#input\_cluster\_id)| The ID of the cluster you wish to deploy the agent in |`string`| n/a | yes |
113
+
| <aname="input_cluster_resource_group_id"></a> [cluster\_resource\_group\_id](#input\_cluster\_resource\_group\_id)| The Resource Group ID of the cluster |`string`| n/a | yes |
114
+
| <aname="input_container_filter"></a> [container\_filter](#input\_container\_filter)| To filter custom containers, specify which containers to include or exclude from metrics collection for the cloud monitoring agent. See https://cloud.ibm.com/docs/monitoring?topic=monitoring-change_kube_agent#change_kube_agent_filter_data.| <pre>list(object({<br/> type = string<br/> parameter = string<br/> name = string<br/> }))</pre> |`[]`| no |
115
+
| <aname="input_image_registry"></a> [image\_registry](#input\_image\_registry)| The image registry to use for the Cloud Monitoring agent. |`string`|`"icr.io/ext/sysdig/agent"`| no |
116
+
| <aname="input_image_tag_digest"></a> [image\_tag\_digest](#input\_image\_tag\_digest)| The image tag digest to use for the Cloud Monitoring agent. |`string`|`"13.8.1@sha256:e5d1c63edf07c9f861249432c00873e32141381c15fbcff80b90a12b272dc0b9"`| no |
117
+
| <aname="input_is_vpc_cluster"></a> [is\_vpc\_cluster](#input\_is\_vpc\_cluster)| Specify true if the target cluster for the monitoring agent is a VPC cluster, false if it is a classic cluster. |`bool`|`true`| no |
118
+
| <aname="input_metrics_filter"></a> [metrics\_filter](#input\_metrics\_filter)| To filter custom metrics, specify the Cloud Monitoring metrics to include or to exclude. See https://cloud.ibm.com/docs/monitoring?topic=monitoring-change_kube_agent#change_kube_agent_inc_exc_metrics.| <pre>list(object({<br/> type = string<br/> name = string<br/> }))</pre> |`[]`| no |
119
+
| <aname="input_name"></a> [name](#input\_name)| Cloud Monitoring agent name. Used for naming all kubernetes and helm resources on the cluster. |`string`|`"sysdig-agent"`| no |
120
+
| <aname="input_namespace"></a> [namespace](#input\_namespace)| Namespace where to deploy the Cloud Monitoring agent. Default value is 'ibm-observe' |`string`|`"ibm-observe"`| no |
121
+
| <aname="input_tolerations"></a> [tolerations](#input\_tolerations)| List of tolerations to apply to Cloud Monitoring agent. | <pre>list(object({<br/> key = optional(string)<br/> operator = optional(string)<br/> value = optional(string)<br/> effect = optional(string)<br/> tolerationSeconds = optional(number)<br/> }))</pre> | <pre>[<br/> {<br/> "operator": "Exists"<br/> },<br/> {<br/> "effect": "NoSchedule",<br/> "key": "node-role.kubernetes.io/master",<br/> "operator": "Exists"<br/> }<br/>]</pre> | no |
122
+
| <aname="input_wait_till"></a> [wait\_till](#input\_wait\_till)| To avoid long wait times when you run your Terraform code, you can specify the stage when you want Terraform to mark the cluster resource creation as completed. Depending on what stage you choose, the cluster creation might not be fully completed and continues to run in the background. However, your Terraform code can continue to run without waiting for the cluster to be fully created. Supported args are `MasterNodeReady`, `OneWorkerNodeReady`, `IngressReady` and `Normal`|`string`|`"Normal"`| no |
123
+
| <aname="input_wait_till_timeout"></a> [wait\_till\_timeout](#input\_wait\_till\_timeout)| Timeout for wait\_till in minutes. |`number`|`90`| no |
146
124
147
125
### Outputs
148
126
149
-
| Name | Description |
150
-
|------|-------------|
151
-
| <aname="output_account_id"></a> [account\_id](#output\_account\_id)| An alpha-numeric value identifying the account ID. |
152
-
| <aname="output_crn"></a> [crn](#output\_crn)| The CRN of the resource instance. |
153
-
| <aname="output_guid"></a> [guid](#output\_guid)| The GUID of the resource instance. |
154
-
| <aname="output_id"></a> [id](#output\_id)| The unique identifier of the resource instance. |
127
+
No outputs.
155
128
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
156
129
157
-
<!-- Leave this section as is so that your module has a link to local development environment set-up steps for contributors to follow -->
130
+
131
+
<!-- Leave this section as is so that your module has a link to local development environment set up steps for contributors to follow -->
158
132
## Contributing
159
133
160
134
You can report issues and request features for this module in GitHub issues in the module repo. See [Report an issue or request a feature](https://github.com/terraform-ibm-modules/.github/blob/main/.github/SUPPORT.md).
# - CRA = Code Risk Analyzer (more info on CRA: https://cloud.ibm.com/docs/code-risk-analyzer-cli-plugin?topic=code-risk-analyzer-cli-plugin-cra-cli-plugin)
4
-
# - Multiple directories can be scanned by CRA. Ensure if there are any deployable architecture in the repository that they are all scanned
5
-
# - More info about supported configurations at https://github.com/terraform-ibm-modules/common-pipeline-assets/blob/main/.github/workflows/terraform-test-pipeline.md#cra-config-yaml
6
-
#
7
-
1
+
# More info about this file at https://github.com/terraform-ibm-modules/common-pipeline-assets/blob/main/.github/workflows/terraform-test-pipeline.md#cra-config-yaml
8
2
version: "v1"
9
3
CRA_TARGETS:
10
-
- CRA_TARGET: "examples/advanced"# Target directory for CRA scan. If not provided, the CRA Scan will not be run.
PROFILE_ID: "fe96bd4d-9b37-40f2-b39f-a62760e326a3"# SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.7.0' profile).
13
-
# SCC_INSTANCE_ID: "" # The SCC instance ID to use to download profile for CRA scan. If not provided, a default global value will be used.
14
-
# SCC_REGION: "" # The IBM Cloud region that the SCC instance is in. If not provided, a default global value will be used.
15
-
CRA_ENVIRONMENT_VARIABLES: # An optional map of environment variables for CRA, where the key is the variable name and value is the value. Useful for providing TF_VARs.
16
-
TF_VAR_prefix: "mock"
17
-
TF_VAR_region: "us-south"
4
+
- CRA_TARGET: "examples/obs-agent-ocp"# Target directory for CRA scan. If not provided, the CRA Scan will not be run.
5
+
CRA_IGNORE_RULES_FILE: "cra-tf-validate-ignore-rules.json"# CRA Ignore file to use. If not provided, it checks the repo root directory for `cra-tf-validate-ignore-rules.json`
6
+
PROFILE_ID: "fe96bd4d-9b37-40f2-b39f-a62760e326a3"# SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.7.0' profile).
0 commit comments