Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
update generated docs action committed Jan 14, 2024
1 parent fb6bde6 commit 102d637
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/data-sources/aws_oidc_credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ data "env0_aws_oidc_credentials" "by_id" {
data "env0_aws_oidc_credentials" "by_name" {
name = env0_aws_oidc_credentials.example.name
}
output "oidc_sub" {
value = data.env0_aws_oidc_credentials.by_name.oidc_sub
}
```

<!-- schema generated by tfplugindocs -->
Expand Down
18 changes: 18 additions & 0 deletions docs/data-sources/azure_oidc_credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,25 @@ description: |-



## Example Usage

```terraform
resource "env0_azure_oidc_credentials" "credentials" {
name = "example"
tenant_id = "4234-2343-24234234234-42343"
client_id = "fff333-345555-4444"
subscription_id = "f1111-222-2222"
}
data "env0_azure_oidc_credentials" "by_id" {
id = env0_azure_oidc_credentials.example.id
}
data "env0_azure_oidc_credentials" "by_name" {
name = env0_azure_oidc_credentials.example.name
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down
38 changes: 38 additions & 0 deletions docs/data-sources/gcp_oidc_credentials.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: "env0_gcp_oidc_credentials Data Source - terraform-provider-env0"
subcategory: ""
description: |-
---

# env0_gcp_oidc_credentials (Data Source)



## Example Usage

```terraform
resource "env0_gcp_oidc_credentials" "credentials" {
name = "example"
credential_configuration_file_content = jsonencode({
"key" : "value"
})
}
data "env0_gcp_oidc_credentials" "by_id" {
id = env0_gcp_oidc_credentials.example.id
}
data "env0_gcp_oidc_credentials" "by_name" {
name = env0_gcp_oidc_credentials.example.name
}
```

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

### Optional

- `id` (String) the id of the gcp_oidc oidc credentials
- `name` (String) the name of the gcp_oidc oidc credentials
43 changes: 43 additions & 0 deletions docs/resources/gcp_oidc_credentials.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "env0_gcp_oidc_credentials Resource - terraform-provider-env0"
subcategory: ""
description: |-
---

# env0_gcp_oidc_credentials (Resource)



## Example Usage

```terraform
resource "env0_gcp_oidc_credentials" "credentials" {
name = "example"
credential_configuration_file_content = jsonencode({
"key" : "value"
})
}
```

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

### Required

- `credential_configuration_file_content` (String) the JSON content of the JWT configuration file
- `name` (String) name for the oidc credentials

### Read-Only

- `id` (String) The ID of this resource.

## Import

Import is supported using the following syntax:

```shell
terraform import env0_gcp_oidc_credentials.by_id d31a6b30-5f69-4d24-937c-22322754934e
terraform import env0_gcp_oidc_credentials.by_name "credentials name"
```

0 comments on commit 102d637

Please sign in to comment.