Custom Blueprints with Foundry
Create and customize cloud infrastructure templates step-by-step
Last updated
Create and customize cloud infrastructure templates step-by-step
Last updated
Resourcely allows you to create and customize infrastructure by following an intuitive step-by-step menu. You can begin to create a blueprint by clicking on the Foundry tab in Resourcely's navigation menu. Foundry allows you to define the following parts of a blueprint:
Once these sections have been defined, you can proceed to Preview and Create your Blueprint.
Foundry is currently in beta and only supports authoring blueprints. Support for guardrails is coming soon.
This section of the Create a Blueprint Foundry allows you to create your blueprint by either cloning an existing blueprint or by starting from scratch.
To clone a built-in Resourcely blueprint, simply press the Select a Blueprint starter drop-down and select a Blueprint. The dropdown provides a list of all the available secure-by-default templates provided by Resourcely.
To create a Blueprint from scratch simply define the blueprint in the edit box by following the Authoring Your Own Blueprints documentation
Once you select a starter Blueprint you can then select additional aspects of the Blueprint to clone, such as Guardrail Configurations, Metadata, etc. Press the Clone Blueprint button and you will see that the edit box has been populated.
You can further customize this starter Blueprint programmatically using the provided edit box by following the instructions in the Authoring Your Own Blueprints documentation
Then you can proceed to Customize the Blueprint's Guardrails by clicking on the Customize Guardrails tab.
This section of the Create a Blueprint Foundry allows you to include or exclude applicable guardrails to ensure compliance.
Guardrails are inherently global and should be excluded only in rare circumstances, as doing so could increase the risk of misconfigurations.
You can include/exclude guardrails from a blueprint by selecting/unselecting the Applicable Guardrails radio buttons. Then you can proceed to Define the Blueprint's Metadata by clicking on the Define Metadata tab.
This section of the Create a Blueprint Foundry allows you to provide metadata to improve the discoverability of your blueprint.
Make sure to populate all the required fields before proceeding
Then you can proceed to Attaching Context to the Blueprint by clicking on the Attach Context tab.
This section of the Create a Blueprint Foundry allows you to specify context questions to allow the collection of relevant information in pull requests.
Now you can proceed to Preview and Create your new custom Blueprint
Resourcely Foundry allows you to view how the Blueprint will be created. The following preview types are available:
Developer Experience
Terraform
Click the Developer Experience tab to preview the fields that your developers will see and interact with as they create new resources
Once you confirm that the Developer Preview meets your needs, you can see the Terraform definition this blueprint will generate by clicking the Terraform tab
Adjust inputs under Developer Experience to see how they reflect in the Terraform output
After validating the Terraform file that will be created, you go ahead and create the blueprint by pressing the Create Blueprint button.
You'll be given the option to either:
Publish this blueprint: Developers will immediately be able to use it to create pull requests
Create the blueprint without publishing: Admins can review and further configure it before developers can use it to create pull requests
Once you click on an option the Blueprint will be created and you will be taken to its Blueprint definition. Here you can manage the blueprints and perform more edits when needed
You can also publish/unpublish blueprints directly from the Blueprint menu by hovering over a Blueprint and pressing the Publish/Unpublish button
Once a blueprint is available you can use it to provision infrastructure using CI/CD. To learn more about provisioning infrastructure from a blueprint, see the guide below: