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
| <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 |
113
146
114
147
### Outputs
115
148
116
-
No outputs.
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. |
117
155
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
118
156
119
157
<!-- Leave this section as is so that your module has a link to local development environment set-up steps for contributors to follow -->
# 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
1
+
#
2
+
# Developer tips:
3
+
# - 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
+
2
8
version: "v1"
3
9
CRA_TARGETS:
4
10
- CRA_TARGET: "examples/advanced"# 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: "0e6e7b5a-817d-4344-ab6f-e5d7a9c49520"# SCC profile ID (currently set to the FSCloud 1.4.0 profile).
PROFILE_ID: "fe96bd4d-9b37-40f2-b39f-a62760e326a3"# SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.7.0' profile).
7
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.
8
14
# SCC_REGION: "" # The IBM Cloud region that the SCC instance is in. If not provided, a default global value will be used.
9
-
#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.
10
-
# TF_VAR_sample: "sample value"
11
-
# TF_VAR_other: "another value"
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.
# - Examples are references that consumers can use to see how the module can be consumed. They are not designed to be
8
+
# flexible re-usable solutions for general consumption, so do not expose any more variables here and instead hard
9
+
# code things in the example main.tf with code comments explaining the different configurations.
10
+
# - For the same reason as above, do not add default values to the example inputs.
11
+
#
12
+
1
13
variable"ibmcloud_api_key" {
2
14
type=string
3
-
description="The IBM Cloud API Key"
15
+
description="The IBM Cloud API Key."
4
16
sensitive=true
5
17
}
6
18
7
19
variable"region" {
8
20
type=string
9
-
description="Region to provision all resources created by this example"
10
-
default="us-south"
21
+
description="Region to provision all resources created by this example."
11
22
}
12
23
13
24
variable"prefix" {
14
25
type=string
15
-
description="Prefix to append to all resources created by this example"
16
-
default="complete"
26
+
description="A string value to prefix to all resources created by this example."
17
27
}
18
28
19
29
variable"resource_group" {
20
30
type=string
21
-
description="An existing resource group name to use for this example, if unset a new resource group will be created"
31
+
description="The name of an existing resource group to provision resources in to. If not set a new resource group will be created using the prefix variable."
22
32
default=null
23
33
}
24
34
25
35
variable"resource_tags" {
26
36
type=list(string)
27
-
description="Optional list of tags to be added to created resources"
37
+
description="List of resource tag to associate with all resource instances created by this example."
0 commit comments