Deploying an architecture
After your deployment updates are validated and approved, you can deploy your architecture to your target account. You can deploy to any account that has authorized your project for deployments. For more information, see Using an API key with Secrets Manager to authorize a project to deploy an architecture.
Deploying your architecture by using the console
To deploy your architecture, complete the following steps:
- From the Deployments tab in your project, click the name of your deployable architecture > Edit.
- Review the input values and make any necessary changes.
- Click Deploy. This action includes preparing your resources to deploy, which can take a few minutes. You are notified when the deployment is successful.
- Review the resources and outputs from the deployable architecture.
If any additional changes are needed, or if a new version of the deployable architecture is available, edit the architecture deployment, validate it, and deploy it again. Deploy your architecture again if there is any drift detected in your Schematics workspace.
Viewing resources by using the console
View your resources that are tied to the deployable architecture by completing the following steps:
- From the projects list, select a project.
- Go to the Deployments tab, and select a deployable architecture.
- From the Resources tab, you can view the full list of deployed resources. For additional information, click View in Schematics.
Reviewing output values by using the console
Output values populate after the architecture is deployed, and they provide important information about your created resources. After the deployment is successful, you can go to the Output tab to view the outputs for your deployment.
Deploying your architecture by using the CLI
-
Run the following
ibmcloud project config-validate
command to get a validation check on your configured edits:ibmcloud project config-validate --project-id PROJECT-ID --id ID [--x-auth-refresh-token X-AUTH-REFRESH-TOKEN] [--version VERSION]
For more information about the command parameters, see
ibmcloud project config-validate
. -
Run the following
ibmcloud project config-deploy
command to deploy your configured edits after they are validated and approved:ibmcloud project config-deploy --project-id PROJECT-ID --id ID
For more information about the command parameters, see
ibmcloud project config-deploy
.
Getting the list of resources that are tied to a deployment by using the CLI
To retrieve the resources that are tied to a deployment, run the following ibmcloud project get
command:
ibmcloud project get --id ID [--exclude-configs EXCLUDE-CONFIGS] [--complete COMPLETE]
For more information about the command parameters, see ibmcloud project get
.
You can also run the following ibmcloud resource search
command to retrieve all the resources in an account created by deployments in a project:
ibmcloud resource search "service_tags:\"schematics::project_id:PROJECT_ID\""