published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
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}"
}
Create RabbitmqCredential Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RabbitmqCredential(name: string, args: RabbitmqCredentialArgs, opts?: CustomResourceOptions);@overload
def RabbitmqCredential(resource_name: str,
args: RabbitmqCredentialArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RabbitmqCredential(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
project_id: Optional[str] = None)func NewRabbitmqCredential(ctx *Context, name string, args RabbitmqCredentialArgs, opts ...ResourceOption) (*RabbitmqCredential, error)public RabbitmqCredential(string name, RabbitmqCredentialArgs args, CustomResourceOptions? opts = null)
public RabbitmqCredential(String name, RabbitmqCredentialArgs args)
public RabbitmqCredential(String name, RabbitmqCredentialArgs args, CustomResourceOptions options)
type: stackit:RabbitmqCredential
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RabbitmqCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RabbitmqCredentialArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RabbitmqCredentialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RabbitmqCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RabbitmqCredentialArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var rabbitmqCredentialResource = new Stackit.RabbitmqCredential("rabbitmqCredentialResource", new()
{
InstanceId = "string",
ProjectId = "string",
});
example, err := stackit.NewRabbitmqCredential(ctx, "rabbitmqCredentialResource", &stackit.RabbitmqCredentialArgs{
InstanceId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
})
var rabbitmqCredentialResource = new RabbitmqCredential("rabbitmqCredentialResource", RabbitmqCredentialArgs.builder()
.instanceId("string")
.projectId("string")
.build());
rabbitmq_credential_resource = stackit.RabbitmqCredential("rabbitmqCredentialResource",
instance_id="string",
project_id="string")
const rabbitmqCredentialResource = new stackit.RabbitmqCredential("rabbitmqCredentialResource", {
instanceId: "string",
projectId: "string",
});
type: stackit:RabbitmqCredential
properties:
instanceId: string
projectId: string
RabbitmqCredential Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RabbitmqCredential resource accepts the following input properties:
- Instance
Id string - ID of the RabbitMQ instance.
- Project
Id string - STACKIT Project ID to which the instance is associated.
- Instance
Id string - ID of the RabbitMQ instance.
- Project
Id string - STACKIT Project ID to which the instance is associated.
- instance
Id String - ID of the RabbitMQ instance.
- project
Id String - STACKIT Project ID to which the instance is associated.
- instance
Id string - ID of the RabbitMQ instance.
- project
Id string - STACKIT Project ID to which the instance is associated.
- instance_
id str - ID of the RabbitMQ instance.
- project_
id str - STACKIT Project ID to which the instance is associated.
- instance
Id String - ID of the RabbitMQ instance.
- project
Id String - STACKIT Project ID to which the instance is associated.
Outputs
All input properties are implicitly available as output properties. Additionally, the RabbitmqCredential resource produces the following output properties:
- Credential
Id string - The credential's ID.
- Host string
- Hosts List<string>
- Http
Api stringUri - Http
Api List<string>Uris - Id string
- The provider-assigned unique ID for this managed resource.
- Management string
- Password string
- Port int
- Uri string
- Uris List<string>
- Username string
- Credential
Id string - The credential's ID.
- Host string
- Hosts []string
- Http
Api stringUri - Http
Api []stringUris - Id string
- The provider-assigned unique ID for this managed resource.
- Management string
- Password string
- Port int
- Uri string
- Uris []string
- Username string
- credential
Id String - The credential's ID.
- host String
- hosts List<String>
- http
Api StringUri - http
Api List<String>Uris - id String
- The provider-assigned unique ID for this managed resource.
- management String
- password String
- port Integer
- uri String
- uris List<String>
- username String
- credential
Id string - The credential's ID.
- host string
- hosts string[]
- http
Api stringUri - http
Api string[]Uris - id string
- The provider-assigned unique ID for this managed resource.
- management string
- password string
- port number
- uri string
- uris string[]
- username string
- credential_
id str - The credential's ID.
- host str
- hosts Sequence[str]
- http_
api_ struri - http_
api_ Sequence[str]uris - id str
- The provider-assigned unique ID for this managed resource.
- management str
- password str
- port int
- uri str
- uris Sequence[str]
- username str
- credential
Id String - The credential's ID.
- host String
- hosts List<String>
- http
Api StringUri - http
Api List<String>Uris - id String
- The provider-assigned unique ID for this managed resource.
- management String
- password String
- port Number
- uri String
- uris List<String>
- username String
Look up Existing RabbitmqCredential Resource
Get an existing RabbitmqCredential resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RabbitmqCredentialState, opts?: CustomResourceOptions): RabbitmqCredential@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
credential_id: Optional[str] = None,
host: Optional[str] = None,
hosts: Optional[Sequence[str]] = None,
http_api_uri: Optional[str] = None,
http_api_uris: Optional[Sequence[str]] = None,
instance_id: Optional[str] = None,
management: Optional[str] = None,
password: Optional[str] = None,
port: Optional[int] = None,
project_id: Optional[str] = None,
uri: Optional[str] = None,
uris: Optional[Sequence[str]] = None,
username: Optional[str] = None) -> RabbitmqCredentialfunc GetRabbitmqCredential(ctx *Context, name string, id IDInput, state *RabbitmqCredentialState, opts ...ResourceOption) (*RabbitmqCredential, error)public static RabbitmqCredential Get(string name, Input<string> id, RabbitmqCredentialState? state, CustomResourceOptions? opts = null)public static RabbitmqCredential get(String name, Output<String> id, RabbitmqCredentialState state, CustomResourceOptions options)resources: _: type: stackit:RabbitmqCredential get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Credential
Id string - The credential's ID.
- Host string
- Hosts List<string>
- Http
Api stringUri - Http
Api List<string>Uris - Instance
Id string - ID of the RabbitMQ instance.
- Management string
- Password string
- Port int
- Project
Id string - STACKIT Project ID to which the instance is associated.
- Uri string
- Uris List<string>
- Username string
- Credential
Id string - The credential's ID.
- Host string
- Hosts []string
- Http
Api stringUri - Http
Api []stringUris - Instance
Id string - ID of the RabbitMQ instance.
- Management string
- Password string
- Port int
- Project
Id string - STACKIT Project ID to which the instance is associated.
- Uri string
- Uris []string
- Username string
- credential
Id String - The credential's ID.
- host String
- hosts List<String>
- http
Api StringUri - http
Api List<String>Uris - instance
Id String - ID of the RabbitMQ instance.
- management String
- password String
- port Integer
- project
Id String - STACKIT Project ID to which the instance is associated.
- uri String
- uris List<String>
- username String
- credential
Id string - The credential's ID.
- host string
- hosts string[]
- http
Api stringUri - http
Api string[]Uris - instance
Id string - ID of the RabbitMQ instance.
- management string
- password string
- port number
- project
Id string - STACKIT Project ID to which the instance is associated.
- uri string
- uris string[]
- username string
- credential_
id str - The credential's ID.
- host str
- hosts Sequence[str]
- http_
api_ struri - http_
api_ Sequence[str]uris - instance_
id str - ID of the RabbitMQ instance.
- management str
- password str
- port int
- project_
id str - STACKIT Project ID to which the instance is associated.
- uri str
- uris Sequence[str]
- username str
- credential
Id String - The credential's ID.
- host String
- hosts List<String>
- http
Api StringUri - http
Api List<String>Uris - instance
Id String - ID of the RabbitMQ instance.
- management String
- password String
- port Number
- project
Id String - STACKIT Project ID to which the instance is associated.
- uri String
- uris List<String>
- username String
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Friday, Feb 20, 2026 by stackitcloud
