Skip to content

Commit

Permalink
Update documentation and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ddebeau committed Aug 28, 2024
1 parent 5a0bef1 commit 649188c
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/data-sources/organization_robot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "quay_organization_robot Data Source - quay"
subcategory: ""
description: |-
---

# quay_organization_robot (Data Source)



## Example Usage

```terraform
resource "quay_organization" "org" {
name = "org"
email = "[email protected]"
}
data "quay_organization_robot" "robot" {
name = "robot"
orgname = quay_organization.org.name
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) Robot short name
- `orgname` (String) Organization name

### Read-Only

- `description` (String) Text description
- `fullname` (String) Robot full name
49 changes: 49 additions & 0 deletions docs/data-sources/organization_team.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "quay_organization_team Data Source - quay"
subcategory: ""
description: |-
---

# quay_organization_team (Data Source)



## Example Usage

```terraform
resource "quay_organization" "org" {
name = "org"
email = "[email protected]"
}
resource "quay_repository" "repo" {
name = "repo"
namespace = quay_organization.org.name
}
resource "quay_organization_robot" "robot" {
name = "robot"
orgname = quay_organization.org.name
}
data "quay_organization_team" "team" {
name = "team"
orgname = quay_organization.org.name
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) Team name
- `orgname` (String) Organization name

### Read-Only

- `description` (String) Markdown description
- `members` (List of String) List of team members
- `role` (String) Team role
9 changes: 9 additions & 0 deletions examples/data-sources/quay_organization_robot/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
resource "quay_organization" "org" {
name = "org"
email = "[email protected]"
}

data "quay_organization_robot" "robot" {
name = "robot"
orgname = quay_organization.org.name
}
19 changes: 19 additions & 0 deletions examples/data-sources/quay_organization_team/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
resource "quay_organization" "org" {
name = "org"
email = "[email protected]"
}

resource "quay_repository" "repo" {
name = "repo"
namespace = quay_organization.org.name
}

resource "quay_organization_robot" "robot" {
name = "robot"
orgname = quay_organization.org.name
}

data "quay_organization_team" "team" {
name = "team"
orgname = quay_organization.org.name
}

0 comments on commit 649188c

Please sign in to comment.