🐞 Bug Fixes 🖼️ UX/UI 🎨 Design area
over 1 year ago

↕ Connect multiple resources directly from the idcard

Use an attribute of a resource in the id card of another resource and connect resources — one step further to low coding your cloud infrastructures.

In Brainboard, you can connect multiple resources by using resource references. This can be done in several ways:
  1. Using the "depends_on" argument in resource blocks allows you to specify that a resource depends on another resource and must be created after it.
  2. Using the "${resource.name.attribute}" syntax allows you to reference the attributes of one resource in the configuration of another resource.
  3. Using the "data" blocks to retrieve information from external resources allows you to retrieve information from existing resources and use it to configure new resources.
  4. Terraform modules allow you to group resources and reuse them across multiple configurations. This is a way to organize your resources and share them with others.
  5. Using Terraform's variables: Terraform variables can store resource information and reference it in multiple places in your configuration.

It's important to note that connecting multiple resources depends on the resources themselves and the cloud provider you are using. It is recommended to check the resources and provider documentation to get the best practices.