Editing Terraform blueprint diagram#

You can edit Terraform blueprints in a graphical editor.

Log into the Blueprint Designer.

To edit a Terraform blueprint in the graphical editor, in the Files list, open the appropriate folder and click on any file with the extension tf. The Diagram tab shows the blueprint in a graphical editor.

Diagram mode of blueprint designer.

The other tabs enable you to view and edit the source code for the blueprint. For more information, see Editing blueprint source code.

The palette at the right side of the editor shows resources that you can add to the blueprint. The palette is divided into multiple drawers. If a drawer contains many items, the contents are separated across tabs. On tablet computers, the pallet is on the right side of the editor and is collapsed by default. If you are using a tablet computer, to add elements to a blueprint, typically you click Add to open the Add Element window.

Resource names can contain only alphanumeric characters and the following special characters: hyphen (-) and underscore (_). If, when prompted, you enter a name containing unsupported characters, the Blueprint Designer replaces those characters with underscore character (_).

To search the palette contents, click Add , and then in the Add Element window filter field, enter your search term. You can also change storage resource storge resource, security resource (except VMware) , ip resource , connection , provisioner, load balancer (AWS only) , resource group resource (Azure only) and resource pool resource (VMware only) via the icon on an instance.

Some resources can be connected. For example, you can connect an instance to a network by grabbing the networks connection icon and dragging to instance.

Note: On tablet computers, connection icons are not displayed on elements. Instead, to connect elements, touch and hold the first element until the outline of the element flashes green. Then, without lifting your finger, drag your finger to the second element.

When you click a resource to select it, its properties are displayed in the Properties drawer, to the left of the editor. From this drawer, you can change property values or externalize them to properties as described in Externalizing properties in blueprints.

If the blueprint contains an error, warning, or unfinished TODO item, an icon that represents the most serious types of item is displayed on the editor toolbar. For example, if the blueprint contains at least one error, the error icon is displayed. Hover over the icon to display a list of all items that you must correct or complete before you provision the blueprint.

When you add components to the blueprint, the editor automatically adds the resource tree resource to the blueprint. This resource represents a base resource tree on the IBM UrbanCode Deploy server. If, on this resource, you specify the parent property, a forward slash character (/) indicates a hierarchical relationship. For example, if you specify /Cloud/Environment/OtherResources, then this resource tree will be added under /Cloud/Environment/OtherResources.

The editor toolbar contains useful tools for working with your blueprint. It includes tools like cut, copy, paste, and delete. Also