Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.66 KB

File metadata and controls

51 lines (37 loc) · 1.66 KB
page_title stackit_secretsmanager_instance_role_binding_v1 Resource - stackit
subcategory
description IAM role binding resource schema. ~> This resource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.

stackit_secretsmanager_instance_role_binding_v1 (Resource)

IAM role binding resource schema.

~> This resource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.

Example Usage

resource "stackit_secretsmanager_instance_role_binding_v1" "role_binding" {
  resource_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  role        = "owner"
  subject     = "john.doe@example.com"
}

Schema

Required

  • resource_id (String) The identifier of the resource to apply this role binding to.
  • role (String) A valid role defined for the resource.
  • subject (String) Identifier of user, service account or client. Usually email address or name in case of clients.

Optional

  • region (String) The resource region. If not defined, the provider region is used.

Read-Only

  • id (String) Terraform's internal resource identifier. It is structured as "region,resource_id,role,subject".

Import

# Only use the import statement if you want to import an existing role binding
import {
  to = stackit_secretsmanager_instance_role_binding_v1.import_example
  id = "${var.region},${var.resource_id},${var.role},${var.subject}"
}