38 lines
1.4 KiB
Markdown
38 lines
1.4 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_git Resource - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
Git Instance resource schema.
|
|
~> This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources for how to opt-in to use beta resources.
|
|
---
|
|
|
|
# stackit_git (Resource)
|
|
|
|
Git Instance resource schema.
|
|
|
|
~> This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our [guide](https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources) for how to opt-in to use beta resources.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "stackit_git" "git" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
name = "git-example-instance"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `name` (String) Unique name linked to the git instance.
|
|
- `project_id` (String) STACKIT project ID to which the git instance is associated.
|
|
|
|
### Read-Only
|
|
|
|
- `id` (String) Terraform's internal resource ID, structured as "`project_id`,`instance_id`".
|
|
- `instance_id` (String) ID linked to the git instance.
|
|
- `url` (String) Url linked to the git instance.
|
|
- `version` (String) Version linked to the git instance.
|