Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding data source for identity pool provider #7733

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/4181.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-datasource
`google_iam_workload_identity_pool_provider`
```
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package google
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package google
41 changes: 41 additions & 0 deletions website/docs/d/iam_workload_identity_pool_provider.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
subcategory: "Cloud IAM"
layout: "google"
page_title: "Google: google_iam_workload_identity_pool_provider"
sidebar_current: "docs-google-datasource-iam-workload-identity-pool-provider"
description: |-
Get a IAM workload identity pool provider from Google Cloud
---

# google\_iam\_workload_\identity\_pool\_provider

Get a IAM workload identity provider from Google Cloud by its id.

~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html) for more details on beta resources.

## Example Usage

```tf
data "google_iam_workload_identity_pool_provider" "foo" {
workload_identity_pool_id = "foo-pool"
workload_identity_pool_provider_id = "bar-provider"
}
```

## Argument Reference

The following arguments are supported:

* `workload_identity_pool_id` - (Required) The id of the pool which is the
final component of the pool resource name.
* `workload_identity_pool_provider_id` - (Required) The id of the provider which is the
final component of the resource name.

- - -

* `project` - (Optional) The project in which the resource belongs. If it
is not provided, the provider project is used.

## Attributes Reference
See [google_iam_workload_identity_pool_provider](https://www.terraform.io/docs/providers/google/r/iam_workload_identity_pool_provider.html) resource for details of all the available attributes.
4 changes: 4 additions & 0 deletions website/google.erb
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,10 @@
<a href="/docs/providers/google/d/iam_workload_identity_pool.html">google_iam_workload_identity_pool</a>
</li>

<li>
<a href="/docs/providers/google/d/iam_workload_identity_pool_provider">google_iam_workload_identity_pool_provider</a>
</li>

</ul>
</li>
<li>
Expand Down