feat(iaas): onboard iaas project datasource (#955)
* feat: onboard iaas project datasource
This commit is contained in:
parent
2558c02584
commit
5f1e4ff192
8 changed files with 399 additions and 3 deletions
35
docs/data-sources/iaas_project.md
Normal file
35
docs/data-sources/iaas_project.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "stackit_iaas_project Data Source - stackit"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Project details. Must have a region specified in the provider configuration.
|
||||
---
|
||||
|
||||
# stackit_iaas_project (Data Source)
|
||||
|
||||
Project details. Must have a `region` specified in the provider configuration.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
data "stackit_iaas_project" "example" {
|
||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `project_id` (String) STACKIT project ID.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `area_id` (String) The area ID to which the project belongs to.
|
||||
- `created_at` (String) Date-time when the project was created.
|
||||
- `id` (String) Terraform's internal resource ID. It is structured as "`project_id`".
|
||||
- `internet_access` (Boolean) Specifies if the project has internet_access
|
||||
- `state` (String) Specifies the state of the project.
|
||||
- `updated_at` (String) Date-time when the project was last updated.
|
||||
Loading…
Add table
Add a link
Reference in a new issue