-
Couldn't load subscription status.
- Fork 0
Feat: Add Service to Service Authorisation DA #282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
solutions/fully-configurable/catalogValidationValues.json.template
Outdated
Show resolved
Hide resolved
|
/run pipeline |
|
/run pipeline |
|
Upgrade test failed which is expected, this PR is already a known breaking change. Due to the renaming of the terraform resources from an indexed count (integer) to a map key (string), it is causing upgrade test to destroy and recreate all policies: We will skip upgrade test from this point on. |
this change has a known breaking change, skipping any upgrade tests SKIP UPGRADE TEST
|
/run pipeline |
|
/run pipeline |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to onboard this to the catalog pipeline..
- Add a file called
.catalog-onboard-pipeline.yamlThe catalog ID is7df1e4ca-d54c-4fd0-82ce-3d13247308cdand the offering ID is51b92aab-bbf2-489e-b462-bf7bd547961b(see other DA repos for examples of this file) - Update the .releaserc to trigger the pipeline for every new release generated. Add this line -> https://github.com/terraform-ibm-modules/terraform-ibm-secrets-manager/blob/d11524626244fea3be600a526fa109783c4b88c5/.releaserc#L14-L16
| variable "prefix" { | ||
| type = string | ||
| nullable = true | ||
| description = "The prefix to be added to all resources created by this solution. To skip using a prefix, set this value to null or an empty string. The prefix must begin with a lowercase letter and may contain only lowercase letters, digits, and hyphens '-'. It should not exceed 16 characters, must not end with a hyphen('-'), and can not contain consecutive hyphens ('--'). Example: prod-cbr. [Learn more](https://terraform-ibm-modules.github.io/documentation/#/prefix.md)." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please follow the guidance here for prefix input
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated var.prefix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ibm_catalog.json
Outdated
| }, | ||
| { | ||
| "key": "service_map", | ||
| "required": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use the HCL editor for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ocofaigh what's the type for hcl editor? is it "code_editor"?
examples/basic/variables.tf
Outdated
| default = null | ||
| } | ||
|
|
||
| variable "enable_cbr" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to expose this in the example as a variable. Just set it to false in the main.tf of the example. We don't want examples to become flexible solutions
solutions/fully-configurable/catalogValidationValues.json.template
Outdated
Show resolved
Hide resolved
Co-authored-by: Conall Ó Cofaigh <[email protected]>
|
/run pipeline |
|
/run pipeline |
| ############################################################################## | ||
|
|
||
| variable "service_map" { | ||
| description = "Map of unique service pairs and their authorization config." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a complex object - consumers of the DA will not know the required format. A helper markdown doc is required that this description should link to. For example -> https://github.com/terraform-ibm-modules/terraform-ibm-kms-all-inclusive/blob/main/solutions/fully-configurable/DA-keys.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we get an initial release of the DA and later I can add the helper doc after coming from leave next week?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left another comment - please stop triggering pipeline until it has been approved
|
/run pipeline |
Just saw the comment after triggering it. |
|
🎉 This PR is included in version 2.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Description
This PR adds Service to Service Authorisation DA in existing module
Issue
#281
Release required?
x.x.X)x.X.x)X.x.x)Release notes content
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
Checklist for reviewers
For mergers