Nectere AnvilBuilderWork in progress

Anvil Builder

Writes Terraform from forms. Pick providers, add variables, choose resources from the provider's catalogue and fill in their fields. The result is saved as a package and deployed like any other.

Still being builtUsable, but still changing. Anything it can't show as a form is left as written. Check Project Preview before saving.

← Back to the Nectere Anvil guide

01Steps

Six steps, in order, driven by the provider's own resource and field list. The step rail jumps back to any finished step. Project Preview shows the generated files at any point.

https://array.corp.lab/i/3f9a1c07/Builder Β· Start
StepWhat you doWrites
1 StartImport a package to edit in place or as a renamed copy, or start blank.-
2 ProvidersSearch the registry and load providers. Next needs at least one.provider.tf
3 VariablesName and type for each variable. Default, description, allowed values and sensitive are optional.variables.tf
4 ResourcesResources build new things, data sources read existing ones. Fill in fields and link them.main.tf
5 OutputsOptional output expressions.outputs.tf
6 Review & SaveName it and save to Packages, or download a zip.package

02Loading providers

Search results from the public registry show tier (official, partner or community), a picker with the 40 newest versions, and an Exact schema box. A normal load reads the documentation index. It's quick and gets field names right, but types are guessed and marked ~. Exact schema downloads the provider and reads its real schema, which is slower. Loaded providers are remembered.

Loading provider

03Resources and fields

+ Add resource opens a type picker across all loaded providers. The editor starts with required fields only; + Add optional field adds the rest. πŸ”— points a field at another resource's attribute or a variable instead of a literal.

Type picker
Reference picker
Resource editor
Field typeWidget
boolCheckbox
string, numberText box with the default (or type) as placeholder. Password box if sensitive.
enum (from docs or schema)Dropdown starting on -- select -- or -- default: X --
list(…), set(…), tuple(…)Nested list with + Add entry
map(…), object(…)Nested keys with + Add key
nested blockCard with the block name, nesting mode (list, set or single) and + Add <name>

Orange * is required; amber ~ is a type inferred from docs. i shows the field description, πŸ”— opens the reference picker, Γ— removes an optional field. Edit as text swaps the block to an HCL editor, and switching back reparses it into the form.

04Saving

  • Save to Packages creates a new package, or updates the imported one in place when Import as a copy was off.
  • Download .zip saves nothing in Anvil.
  • To edit a package later, use Open in Builder on Packages.
  • Reset and Start over discard the current work after a confirm.
  • Unsaved Builder work is lost if Anvil restarts.