terraform-ibm-modules / terraform-ibm-event-streams Goto Github PK
View Code? Open in Web Editor NEWModule that supports provisioning and configuring IBM Cloud Event Streams
License: Apache License 2.0
Module that supports provisioning and configuring IBM Cloud Event Streams
License: Apache License 2.0
Review the diagram(s) in the reference-architectures
directory...
We don't want to use the name fscloud
as the flavor / variation for the DA. Actions:
solutions/fscloud
-> solutions/standard
ibm_catalog.json
updates:
working_directory
to new dir (solutions/standard
)standard
/ Standard
.catalog-onboard-pipeline.yaml
The Event Streams DA has 1 flavor currently:
The following items will need to be reviewed and updated where required:
In the CBR module, the provider constraints are updated to >= 1.65.0, hence the need to update.
FSCloud tests were failing due to auth policy not being created before the es instance.
TestRunFSCloudExample 2023-11-16T06:10:16Z logger.go:66: │ "Result": {
TestRunFSCloudExample 2023-11-16T06:10:16Z logger.go:66: │ "details": "{\"description\":\"Please ensure the KMS instance: crn:v1:bluemix:public:hs-crypto:us-south:a/123 exists and Event Streams service has been authorized to access the selected KMS instance\",\"error\":\"Bad Request\",\"incident_id\":\"bss-34443\"}\n",
TestRunFSCloudExample 2023-11-16T06:10:16Z logger.go:66: │ "error_code": "RC-ServiceBrokerErrorResponse",
TestRunFSCloudExample 2023-11-16T06:10:16Z logger.go:66: │ "message": "Please contact the Service Provider for this error. [400, Bad Request] Please ensure the KMS instance: crn:v1:bluemix:public:hs-crypto:us-south:a/123:key:123 exists and Event Streams service has been authorized to access the selected KMS instance",
TestRunFSCloudExample 2023-11-16T06:10:16Z logger.go:66: │ "status_code": 422,
TestRunFSCloudExample 2023-11-16T06:10:16Z logger.go:66: │ "transaction_id": "bss-34443"
TestRunFSCloudExample 2023-11-16T06:10:16Z logger.go:66: │ },
Add support to this module to create CBRs (Context Based Restrictions) for finer grained network filtering. See terraform-ibm-icd-mongodb or terraform-ibm-icd-postgresql for implementation and be consistent.
The schemas
, topics
and cbr_rules
variables are complex object types, which users will find hard to figure out the required format to be entered in Projects UI.
Until Projects support some kind of tool tip (tracked internally here), the best thing we can do is add a supporting doc which the variable descriptions can link to.
We did this for KMS DA -> https://github.com/terraform-ibm-modules/terraform-ibm-kms-all-inclusive/blob/main/solutions/standard/DA-keys.md
Add support to Event Stream DA to create KMS key. Considerations:
ibmcloud_kms_api_key
. This should be used in a new provider block like so:
provider "ibm" {
alias = "kms"
ibmcloud_api_key = var.ibmcloud_kms_api_key != null ? var.ibmcloud_kms_api_key : var.ibmcloud_api_key
region = local.kms_region # this value should be parsed from the existing KMS CRN
}
provider "ibm" {
ibmcloud_api_key = var.ibmcloud_api_key
}
kms
module block used to create the KMS key should use the kms
provider alias (see above).ibmcloud_kms_api_key
variable.There is no region variable in https://github.com/terraform-ibm-modules/terraform-ibm-event-streams/blob/main/modules/fscloud/variables.tf meaning it will always deploy to the default region thats set in the root level module (which is us-south).
Actions:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.