Files
terraform-provider-threshold/docs/resources/scope_alias_suffix.md
T
Amit KotagiandSusmitha Girumala 7c3959d981 chore: backport release changes from main for v1.6.1 (#831)
* Add default permissions for build workflow (#826)

Add workflow level read-only permission for build workflow to support new default permissions github policy.

* feat(proj-alias): support project scoped alias via suffixes (#824)

* feat(proj-alias): support project scoped alias via suffixes

* fix: generate resouce docs using make gen

* fix: address review comments

* chore: make gen changes

* fix(proja-alias): validate scope id before calling remove alias suffix

* fix: filter unknown scopes in validation

* chore: update version and changelog (#828)

* chore: update version and changelog

* fix: update version number to 1.6.1

* fix: update changelog description for project alias changes

---------

Co-authored-by: Susmitha Girumala <susmitha@hashicorp.com>
2026-07-30 14:03:59 +05:30

1.9 KiB

page_title, subcategory, description
page_title subcategory description
boundary_scope_alias_suffix Resource - terraform-provider-boundary The scope alias suffix resource allows you to set an alias suffix for an org or project scope. Global scopes are not valid for alias suffix operations.

boundary_scope_alias_suffix (Resource)

The scope alias suffix resource allows you to set an alias suffix for an org or project scope. Global scopes are not valid for alias suffix operations.

Example Usage

resource "boundary_scope" "global" {
  global_scope = true
  scope_id     = "global"
}

resource "boundary_scope" "org" {
  name                     = "organization_one"
  description              = "My first scope!"
  scope_id                 = boundary_scope.global.id
  auto_create_admin_role   = true
  auto_create_default_role = true
}

resource "boundary_scope" "project" {
  name                   = "project_one"
  description            = "My first project"
  scope_id               = boundary_scope.org.id
  auto_create_admin_role = true
}

resource "boundary_scope_alias_suffix" "org_suffix" {
  scope_id     = boundary_scope.org.id
  alias_suffix = "org"
}

resource "boundary_scope_alias_suffix" "project_suffix" {
  scope_id     = boundary_scope.project.id
  alias_suffix = "projectone"
}

Schema

Required

  • alias_suffix (String) The alias suffix value for this scope.
  • scope_id (String) The scope ID. Alias suffixes are supported for org and project scopes.

Read-Only

  • id (String) The ID of this resource.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

terraform import boundary_scope_alias_suffix.org_suffix <scope-id>