Terraform patterns for Boundary scopes
You can use the following patterns to create org-level and project-level scopes.
Requirements
This document assumes the reader has:
- An understanding of Terraform fundamentals
- An existing Boundary installation. Refer to Initialize Boundary to learn about deploying Boundary.
- Configured the Terraform Boundary provider.
Scopes configuration
The scope_id
parameter determines what kind of scope to create according to these rules:
- If
scope_id
is the global scope, an org-level scope is created. - If
scope_id
is an org-level scope, a project-level scope is created. - If
scope_id
is a project-level scope, a nested project-level scope is created.
More information
For more information about the Boundary resources mentioned in this topic, refer to the domain model documentation:
For more information about managing the following resources using Terraform, refer to the Boundary provider documentation:
Next steps
You use scopes to partition resources and assign them to users. Once you have created scopes, you may want to create users and auth methods.