Skip to content

Commit 9bcc7e2

Browse files
fix: onboarding module to IBM Cloud module registry (#484)
1 parent 0732443 commit 9bcc7e2

21 files changed

+115
-24
lines changed

.secrets.baseline

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "go.sum|^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2023-06-10T00:13:05Z",
6+
"generated_at": "2023-11-22T11:03:19Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -86,6 +86,16 @@
8686
"type": "Secret Keyword",
8787
"verified_result": null
8888
}
89+
],
90+
"ibm_catalog.json": [
91+
{
92+
"hashed_secret": "2a66dd6b2184e0722c4f448eaac79a1897987a30",
93+
"is_secret": false,
94+
"is_verified": false,
95+
"line_number": 21,
96+
"type": "Secret Keyword",
97+
"verified_result": null
98+
}
8999
]
90100
},
91101
"version": "0.13.1+ibm.61.dss",

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ You need the following permissions to run this module.
4141
<!-- BEGIN EXAMPLES HOOK -->
4242
## Examples
4343

44-
- [ End to end example with default values](examples/default)
45-
- [ An example that uses existing KMS](examples/existing-kms)
44+
- [ Basic example](examples/basic)
45+
- [ Complete example](examples/complete)
4646
<!-- END EXAMPLES HOOK -->
4747
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
4848
### Requirements

cra-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 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
22
version: "v1"
33
CRA_TARGETS:
4-
- CRA_TARGET: "examples/default" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
4+
- CRA_TARGET: "examples/complete" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
55
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`
66
PROFILE_ID: "0e6e7b5a-817d-4344-ab6f-e5d7a9c49520" # SCC profile ID (currently set to the FSCloud 1.4.0 profile).

examples/basic/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Basic example
2+
3+
A simple example that shows how to create a key ring in an existing IBM Key Management Service (KMS) instance.
4+
5+
The following resources are provisioned by this example:
6+
- A key ring in an existing Key Management Service (KMS) instance.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"ibmcloud_api_key": $VALIDATION_APIKEY,
3+
"existing_kms_instance_guid": $HPCS_US_SOUTH_GUID,
4+
"prefix": $PREFIX
5+
}
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
##############################################################################
42
# Key Ring module
53
##############################################################################

0 commit comments

Comments
 (0)