Global Context

Create context prompting questionnaires to be used within blueprint-created resources or standing alone in non-resourcely created terraforms.

Global Contexts are context-prompting questionnaires used to gather data from developers before provisioning a resource. Global Contexts are designed to gather and store insightful data related to the resource that will be generated. Some examples include:

  • What type of data will be stored in this infrastructure?

  • In which environment(s) will this infrastructure be deployed?

  • What application is this infrastructure associated with?

  • What is the email address of the person/team responsible for this infrastructure?

You can create your own Global Contexts and apply them to your Blueprint(s) so that they must be filled out before infrastructure is provisioned. Global Contexts can be defined with the following properties:

  • Single Choice

  • Multiple Choice

  • Text Field

.resourcely.yaml can provide answers to global context questions when the key in its context map matches the accessor of the global context question. Resourcely will automatically fill in the answers to these global context questions in the Create form.

Create form users cannot change answers that came from .resourcely.yaml.

Last updated