-
Notifications
You must be signed in to change notification settings - Fork 3
Conversation
/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.
scc_region
should be marked as required (just like region
is in secrets manager PR)
Please review the sorting / grouping. All related inputs needs to be together. Some things I noticed:
- SCC instance inputs should be at the top (after
provider_visibility
) of the optional inputs. They are all over the place now (scc_instance_name
,scc_service_plan
,existing_scc_instance_crn
,scc_instance_tags
) - The event notifications inputs are not grouped together
ibmcloud_kms_api_key
needs to live with other KMS inputsexisting_activity_tracker_crn
andexisting_monitoring_crn
should exist with the COS inputsskip_scc_workload_protection_auth_policy
should exist with other workload protection inputs.
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.
just 1 comment
…terraform-ibm-scc-da into da_best_practices
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.
see latest comments
/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.
Perhaps change the default value of scc_instance_name
to just scc
(aligning with what we did in secrets manager PR)
Oh and also change default value of |
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.
I think you missed these changes?
ibm_catalog.json
Outdated
{ | ||
"key": "existing_kms_instance_crn", | ||
"required": true | ||
"key": "existing_scc_instance_crn" |
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.
I would priortise putting inputs that are related to new instance creation first (since that is the default). So suggest to place this further down
ibm_catalog.json
Outdated
}, | ||
{ | ||
"displayname": "France (eu-fr2)", | ||
"value": "eu-fr2" |
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 an allowlisted region. I don't think we should expose it
/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.
@Vipin654 You need to update the test with new variable name:
TestRunExistingResourcesInstances 2025-03-04T09:07:25Z retry.go:99: Returning due to fatal error: FatalError{Underlying: error while running command: exit status 1; ╷
│ Error: Value for undeclared variable
│
│ A variable named "cos_region" was assigned on the command line, but the
│ root module does not declare a variable of that name. To use this value,
│ add a "variable" block to the configuration.
╵}
…terraform-ibm-scc-da into da_best_practices
/run pipeline |
/run pipeline |
@ocofaigh test has been fixed. Please approve again |
🎉 This PR is included in version 1.27.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Description
Review DA inputs to align with best practices.
Release required?
x.x.X
)x.X.x
)X.x.x
)Release notes content
Review DA inputs to align with best practices.
Following input variables were renamed for better consumer experience
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