* feat: add new attributes to git resource and datasource Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud> * review changes Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud> * review changes 2 Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud> --------- Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud>
1.9 KiB
1.9 KiB
| page_title | subcategory | description |
|---|---|---|
| stackit_git Data Source - stackit | Git Instance datasource schema. ~> This datasource 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 (Data Source)
Git Instance datasource schema.
~> This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.
Example Usage
data "stackit_git" "git" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Schema
Required
instance_id(String) ID linked to the git instance.project_id(String) STACKIT project ID to which the git instance is associated.
Read-Only
acl(List of String) Restricted ACL for instance access.consumed_disk(String) How many bytes of disk space is consumed.consumed_object_storage(String) How many bytes of Object Storage is consumed.created(String) Instance creation timestamp in RFC3339 format.flavor(String) Instance flavor. If not provided, defaults to git-100. For a list of available flavors, refer to our API documentation:https://docs.api.stackit.cloud/documentation/git/version/v1betaid(String) Terraform's internal resource ID, structured as "project_id,instance_id".name(String) Unique name linked to the git instance.url(String) Url linked to the git instance.version(String) Version linked to the git instance.