How do I expose new variables in the CIS Service Catalog? #743
-
In the CIS Service Catalog, I would like to be able to have a few variables available for me to configure:
The default value is 731 and doesn't make sense for us in our dev and stage accounts
The default value is 600, and we need to change this to 60 four our prod account What is the best way to move forward quickly? What are the alternatives (with pros and cons)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I'll address the question generally, and then dive into this specific example. OptionsPull RequestsFirst, we appreciate PRs. When talking about the CIS Service Catalog, that is a wrapper around the non-CIS Service Catalog, which in turn brings together modules from our IaC Library. In some cases, variables may be exposed at the lowest module level but not propagated up to the Service Catalog (and therefore not up to the CIS Service Catalog). In those cases, the variables would need to be propagated up the chain. In other cases, variables may not be exposed at all at the lowest module level. In those cases, the variable would need to be added at all levels (module, Service Catalog, CIS Service Catalog). In most cases, we'll review your PRs, make sure that it passes our standards (tests, et cetera), and then merge them in and release. Feature RequestYou can ask us to do this. We'll put it into our queue and triage it and then, if we decide that it merits inclusion in our code base, we'll build it out, issue pull requests, approve, merge, and release. We do not strive to include every single variable for every single resource in our modules. But we also want to suit the needs of our customers, so we'll usually help you out. Fork the repo(s)You can fork the repo(s) (at any or all levels) and make your own changes. Write your own moduleYou could also write your own module or directly put the resources you need in your code base, with the features you need. Comparing the optionsForking may seem like the fastest way to get this done. Indeed, if you need this yesterday, it may be. But now your code base drifts away from ours, and you won't be able to take advantage of our updates as easily. You'd need to manage the differences between our code and yours. Writing your own module faces the same problems as forking; you'll need to maintain it. Issuing a PR is the second fastest method, and as long as your PRs get merged, then the beauty is that we continue to maintain the code base moving forward, and you don't have to point your code base at your forks. You will have to update your code base to point at the newest version of the repo. Your specific case
|
Beta Was this translation helpful? Give feedback.
I'll address the question generally, and then dive into this specific example.
Options
Pull Requests
First, we appreciate PRs. When talking about the CIS Service Catalog, that is a wrapper around the non-CIS Service Catalog, which in turn brings together modules from our IaC Library.
In some cases, variables may be exposed at the lowest module level but not propagated up to the Service Catalog (and therefore not up to the CIS Service Catalog). In those cases, the variables would need to be propagated up the chain.
In other cases, variables may not be exposed at all at the lowest module level. In those cases, the variable would need to be added at all levels (module, Service Catalog, CIS S…