Resource Configuration
The Resource Configuration panel is the primary interface for configuring individual cloud resources. It provides a comprehensive form-based editor, code view, and state inspection for deep resource configuration. This panel replaces and extends the functionality of the previous ID Card interface.

Overview
The Resource Configuration panel opens when you double-click a resource card in the Resources List or double-click a resource in the diagram. It provides three views for working with resources:
Form - Structured configuration form with sections and fields (primary editing interface)
State - Read-only view of Terraform state attributes
Code - Direct HCL code editor for the resource
Opening the Resource Configuration Panel
To open the Resource Configuration panel:
From Resources List: Navigate to the Resources tab in the Right Panel and double-click any resource card
From Diagram: Double-click any resource node in the design area
From Node Options: Click a resource and select "Cloud configuration" from the node's options bar
Form View
The Form view provides a structured interface for configuring resource parameters, organized into collapsible sections. This is the primary and recommended way to configure your cloud resources.
Form Components
Header
The header displays:
Back button - Returns to the Resources List
Resource icon and name - Visual identifier for the current resource
You can change the resource title, reset, or delete it if needed
You can customize the icon
Tab selector - Switch between Form, State, and Code views
Close button - Closes the Resource Configuration panel
Configuration Sections
The form is organized into sections:
Graphics - Resource appearance settings:
Icon customization
Resource label (displayed name in the diagram)
Metadata - Terraform-specific settings:
Resource name (Terraform identifier) - Used to uniquely identify the resource in the design and code
File name - Which
.tffile contains this resourceProvider alias - If using multiple provider configurations
Region/location settings - For providers like AWS where location is not part of the Terraform resource
Required Parameters - Core mandatory attributes:
These parameters come from what Terraform considers as required
Missing required fields are highlighted in red
Advanced Configuration - Optional sections and nested configurations:
Contains all fields that are not mandatory
Can be added/removed using the Sections Builder
Extra Attributes - Terraform meta-arguments:
count- Create multiple instances with a single configurationdepends_on- Specify dependencies between resourcesfor_each- Create multiple instances based on a map or setlifecycle- Define actions during create, update, or deleteterraform code- Write any valid Terraform code (like provisioners)
Exported Attributes - Read-only information:
Attributes available to be used by other resources
Used in output blocks
Automatically filled after deployment from the tfstate file
Section Management
Each section can be:
Expanded/Collapsed - Click the section header to toggle
Added/Removed - Use the Sections Builder to customize visible sections
Configured - Fill in parameters specific to your infrastructure needs
Sections Builder
The Sections Builder allows you to customize which configuration blocks appear in your form:
To use the Sections Builder:
Click the builder icon (grid icon) in the configurator header
Browse available sections and blocks for your resource type
Check/uncheck sections to add or remove them from the form
The form updates immediately with your selections
Field Types
The Resource Configuration panel supports various field types that map to Terraform attributes:
Text Attributes
Used when the expected value is a string such as name, IP address, or location:
All Terraform supported types including string & template strings and heredoc
Press Enter to switch into multiline mode for proper formatting
No need to quote values - Brainboard handles quoting based on Terraform requirements
Number Attributes
For specifying numerical values (integers and floating-point numbers):
Supports decimal or scientific notation
Common uses: resource counts, networking parameters, timeouts
Terraform provides built-in functions for manipulating numbers
List Attributes
For collections of values (any data type including strings, numbers, booleans, nested lists/maps):
Lists of resources - Related resources like virtual network subnets
Lists of strings - IP addresses, names, etc.
Lists of maps - Sets of key-value pairs
Can switch to text field mode to use Terraform functions (e.g.,
mergefunction for tags)
Boolean Attributes
Three options for boolean type attributes:
Default - Value removed from generated code, uses Terraform default
False - Explicitly set to false
True - Explicitly set to true
Var mode - Use expression evaluation for dynamic values
Block Attributes
Nested configuration blocks that can contain:
All the field types mentioned above
Other nested blocks
Reset button to remove the entire block from generated code
Add button to create multiple blocks (when supported by Terraform)
Field Documentation
Each field includes inline documentation:
Hover over the field label to see a tooltip with:
Parameter description
Data type
Default values
Validation rules
Required/optional status
Click the documentation icon (?) to open the official Terraform provider documentation
Auto-save Behavior
The form auto-saves changes:
On blur - When you click outside a field
On mouse leave - When your cursor leaves the form area
Debounced - Changes are batched to avoid excessive saves
Top Bar Options
Options in the top bar allow you to:
Move the panel wherever you want in the design area
See automatic save indicator
Reset the changes you made
Open the Terraform documentation of the resource
Show/hide the documentation of every field within Brainboard
Close the panel
Warnings and Validation
The form displays warnings for:
Destructive changes - Operations that will destroy and recreate the resource
Required parameters - Missing required fields highlighted in red
Invalid values - Validation errors with helpful messages
Type mismatches - Incorrect data types for fields
Extra Attributes Details
Count
Allows you to create multiple instances of the same resource with a single configuration:
Use a number, variable, Terraform functions, or any valid Terraform syntax
When a resource has count, its icon changes visually in the diagram
Depends_On
Specify dependencies between resources:
Ensures one resource is created before another
Brainboard automatically creates a visual link between both resources
For_Each
Create multiple instances based on a map or set of values:
Can write your map directly or use a variable (best practice)
When a resource has for_each, its icon changes visually in the diagram
Lifecycle
Define actions during resource lifecycle:
create_before_destroy - Create new resource before destroying existing one
prevent_destroy - Prevent Terraform from destroying a resource (useful for databases)
ignore_changes - Specify attributes that shouldn't trigger an update
Terraform Code
For advanced users, write any valid Terraform code:
Useful for provisioners
Custom logic not available in standard fields
Search Feature
The Resource Configuration panel includes a powerful search feature for finding and adding parameters:
Click the search icon in the configurator toolbar
Type to search for:
Attribute names
Block names
Documentation keywords
Search results show:
Configured attributes - Already in your form (navigate to them)
Available attributes - Not yet added (click to add to form)
State View
The State view displays read-only Terraform state information for the resource.
State Information
State view shows:
Exported Attributes - Values generated after resource creation
Computed Values - Calculated by Terraform
Resource IDs - Cloud provider identifiers
Output Values - Data exported for use by other resources
When to Use State View
State view is useful for:
Checking resource IDs after deployment
Finding computed values to reference in other resources
Debugging resource relationships
Understanding what Terraform has created
State information is only available after the resource has been deployed. Newly created resources will show an empty state.
Code View
The Code view provides direct access to the Terraform HCL code for the individual resource.

Code Editor Features
Syntax Highlighting - Full HCL syntax support
Line Numbers - Easy reference
Code Validation - Real-time syntax checking
Keyboard Shortcuts:
CMD/CTRL+S- Save changesCMD/CTRL+F- Search in codeCMD/CTRL+H- Find and replace
Bi-directional Sync
Changes in code view sync with the form view and vice versa:
Form → Code - Form changes immediately update the code
Code → Form - After saving code, the form updates to reflect changes
Terraform Actions
The Resource Configuration panel header provides quick access to Terraform actions:
Validate - Run
terraform validatefor this resourcePlan - Generate an execution plan
Apply - Deploy changes
Pull Request - Create a PR with changes
Special Resource Types
Custom Resources
The Resource Configuration panel for custom resources includes additional fields:
You can define the Terraform resource type
You can indicate the source of the provider if it's in a different namespace (e.g.,
cloudflare/cloudflare)
Modules
The Resource Configuration panel for a module is built based on the variables and outputs defined in the module's source code:
Refresh button - Fetch the latest version from Git or registry and rebuild the form
Source - The module source location (change in modules' catalog)
Version - Specific version, branch, or tag
Documentation - Comes from the description of the module's variables
Navigation and Keyboard Shortcuts
Navigation
Back button - Returns to Resources List (retains scroll position)
Close button (X) - Closes configurator and returns to Resources tab
ESCkey - Closes the configurator
Keyboard Shortcuts
CMD/CTRL+F- Open search (when Form tab is active)Enter- (When field is focused) Move to next fieldTab- Navigate between fieldsArrow keys - Navigate section headers
Resizer
The panel includes a resizer that allows you to:
Adjust width by dragging the left edge
Adjust height by dragging the bottom edge
Resize to make it bigger or smaller based on your preference
Best Practices
Form Configuration
Start with Required Parameters - Configure mandatory fields first
Use the Sections Builder - Customize your form to show only what you need
Leverage Search - Quickly find and add obscure parameters
Check Documentation - Hover over fields to understand their purpose
Use References - Link to other resources instead of hardcoding values
Resource Organization
One resource at a time - The configurator is designed for focused editing
Use references - Link to other resources, variables, or outputs
Group related resources - Keep connected resources in the same file
Performance
Minimize expanded sections - Collapse sections you're not actively editing
Avoid excessive nesting - Deeply nested blocks can impact form performance
Use code view for bulk changes - When adding many attributes at once
Common Workflows
Adding a New Block
Click the Sections Builder icon
Find the block you want to add (e.g., "logging")
Check the checkbox to add it to your form
Configure the block parameters
Referencing Another Resource
Click the field that needs a reference
Select Reference from the dropdown (if applicable)
Choose the resource, variable, or output to reference
The form automatically creates the correct Terraform reference syntax
Creating Dependencies
In the Extra Attributes section, find
depends_onSelect the resource(s) this resource depends on
Brainboard automatically creates a visual link in the diagram
Using Count or For_Each
In the Extra Attributes section, find
countorfor_eachEnter your expression:
Count: A number, variable, or expression
For_each: A map or set (best practice: use a variable)
The resource icon changes visually to indicate multiple instances
Viewing Computed Values
Deploy your architecture
Open the resource in the Resource Configuration panel
Switch to the State tab
Find the computed value you need
Copy it or reference it in other resources
Troubleshooting
Form Not Saving
If changes aren't saving:
Check for validation errors (red highlights)
Ensure required fields are filled
Try clicking outside the field to trigger save
Check the browser console for errors
Missing Sections
If expected sections don't appear:
Check the Sections Builder - they may be hidden
Verify the resource type supports the block
Check if using a module (module resources have limited configuration)
Code and Form Mismatch
If code and form show different values:
Save the code explicitly with
CMD/CTRL+SRefresh the form by closing and reopening the configurator
Check for syntax errors in the code
See Also
Resources List - Resource list and overview
Right Panel - Overview of right panel features
Code Edition - Full file code editing
Design Area - Visual diagram interface
Terraform Actions - Running Terraform commands
Node - Working with resource nodes in the diagram
Last updated
Was this helpful?