Skip to main content
Knowledge Base

How do I set values for sub-module variables that aren't exposed in Service Catalog

Answer

A customer asked: > Have an issue with passing an un-exposed variable to service that uses a module. Basic question is how can I pass a non-exposed variable to a service/module that I use as source? --- <ins datetime="2022-05-05T14:53:30Z"> <p><a href="https://support.gruntwork.io/hc/requests/108553">Tracked in ticket #108553</a></p> </ins>

If you have to set a variable value for a sub-module that isn't exposed in the Service Catalog wrapper module, [open a PR](https://github.com/gruntwork-io/terraform-aws-service-catalog/blob/master/core-concepts.md#contributing-to-this-repo) in the [Service Catalog](https://github.com/gruntwork-io/terraform-aws-service-catalog) to expose the variable.