Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.45 KB

File metadata and controls

49 lines (39 loc) · 1.45 KB
page_title stackit_rabbitmq_credential Resource - stackit
subcategory
description RabbitMQ credential resource schema. Must have a region specified in the provider configuration.

stackit_rabbitmq_credential (Resource)

RabbitMQ credential resource schema. Must have a region specified in the provider configuration.

Example Usage

resource "stackit_rabbitmq_credential" "example" {
  project_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

# Only use the import statement, if you want to import an existing rabbitmq credential
import {
  to = stackit_rabbitmq_credential.import-example
  id = "${var.project_id},${var.rabbitmq_instance_id},${var.rabbitmq_credential_id}"
}

Schema

Required

  • instance_id (String) ID of the RabbitMQ instance.
  • project_id (String) STACKIT Project ID to which the instance is associated.

Read-Only

  • credential_id (String) The credential's ID.
  • host (String)
  • hosts (List of String)
  • http_api_uri (String)
  • http_api_uris (List of String)
  • id (String) Terraform's internal resource identifier. It is structured as "project_id,instance_id,credential_id".
  • management (String)
  • password (String, Sensitive)
  • port (Number)
  • uri (String, Sensitive)
  • uris (List of String)
  • username (String)