IBM Cloud Deployable Architecture BuilderIBM Cloud Deployable Architecture Builder extension for Visual Studio Code assists infrastructure as code (IaC) developers to create and maintain deployable architectures by combining capabilities that are found in IBM Cloud Projects, Global Catalog, and Schematics. Deployable architectures can have one or more architecture variations and multiple configurations for those architectures based on the customer business needs. For more information, see What are modules and deployable architectures?. Use this extension to:
PrerequisitesFor information about prerequisites, see Onboarding your deployable architecture by using a Visual Studio Code extension. Log in to an IBM Cloud account
After logging in, the projects and catalogs in that account will be shown in the explorer views, if any. FeaturesAfter you confirm all of the prerequisites, the following features are available. Many of these features are highlighted in the extension's walkthrough which you can open by navigating to View -> Command Palette -> Welcome: Open Walkthrough -> Get started with IBM Cloud Deployable Architecture Builder in the application's menu bar. Create and edit project configurationsYou can create a configuration in a project from a deployable architecture.
The new configuration is highlighted in the Projects explorer tree and a YAML file is opened containing the configuration properties that you can edit. The configuration is validated automatically as you type. Errors, warnings, and informational messages are shown via squiggles and in the Problems view. You can also use completions and quick fixes to quickly and easily edit your configuration. Changes are automatically synced with IBM Cloud whenever you save. Changes from IBM Cloud are automatically synced in the background on an interval. You can also edit existing configurations by right-clicking on them in the Projects explorer tree and selecting Edit configuration. Configuration editing features are managed in a language server. To see errors, warnings, and informational messages from the language server, open the IBM Cloud Deployable Architecture Builder Language Server Output channel in the Output view. Insert references in configurationsYou can insert references to properties in other configurations or to secrets in IBM Cloud Secrets Manager.
References are automatically validated. An informational squiggly and associated Problems view entry indicates if the reference is valid. Stack configurationsYou can manage stack configurations and their members in the Projects explorer tree in multiple ways.
Validating a deployable architecture on IBM CloudTo validate a local Terraform module as a deployable architecture on IBM Cloud use the following steps.
Note: Validation can take a long time to complete. The Output channel will automatically refresh with the latest logs. The Projects and Catalogs explorers will automatically refresh as changes are made. You can also use the refresh button to manually refresh them. You can also retrieve logs later by right-clicking on the manifest file and selecting IBM Cloud > Show deployable architecture validation logs. If the validation doesn't begin or there is an error during the validation, an error will be shown and you can try again later. Additional features
TroubleshootingError signing into GitHub EnterpriseIf you see an error about signing into GitHub Enterprise, set the GitHub Enterprise server in Settings -> Settings -> Extensions -> GitHub Enterprise Server Authentication Provider in the URI field to Getting logged outThere's an error that might occur when you sign in to IBM Cloud via the extension. This error might happen because after you first install the extension from the marketplace and attempt to sign in, the authentication might not stick. So, you will see that you're signed in but then are signed out shortly after. To fix this issue, restart VS Code and attempt to sign in again. Extension logsAll logs for the extension can be found in the Output view in the Accessing the walkthrough in VS CodeWhen you open a You can also view the walkthrough at any time by following either of these steps:
|