Using External Modules

Customize and use custom Terraform Modules

Using existing External Modules

From the Foundry you can include a module invocation of any module previously imported.

Then select the module's source and version. If you don't see the module you're looking for you can import it as a new module.

Importing a new module will not save the existing foundry content you have in progress

Foundry will then add the module's content into the existing content

Importing new external Modules

If there is a specific module that you would like to use that has not been previously imported, you can import one from an external source. You can see all blueprints available to you by clicking on the Blueprints tab in Resourcely's navigation menu. You can press the Create a blueprint button to begin the process of creating one.

Resourcely allows you to import an existing module and manually set up the shape of your new blueprint. In order to import a module you must choose the Import a module from external source option and then press the Continue button.

Now select what source to import a module from. Resourcely allows module imports from:

  • GitHub/GitLab Repository

  • Terraform Registry

For GitHub/GitLab Repository import the Repository URL, Module Path, and Authentication are required.

For Terraform Registry import the Source (<namespace>/<module_name>/<provider>), and Module Version are required.

Using the Terraform module as a source, import the Google Service Accounts module, and then press the Continue button to proceed.

To create an accurate blueprint, Resourcely detects your module's inputs. In most cases, Resourcely can automatically infer types for each input. For cases where module fields cannot be auto-configured, you'll find these inputs under the Manually Configured tab.

When modifying types, you can either choose from the options in the dropdown, or you can enter the type yourself using Terraform type constraints.

Make sure you verify the auto-configured values, set various other metadata, and press the Continue button to proceed.

Now organize and group inputs to make it easier for developers to utilize blueprints. Press the Continue button to proceed.

Last updated