Skip to content

Commit

Permalink
adding data source for identity pool provider (#4181) (#7733)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Suarez <[email protected]>
Signed-off-by: Modular Magician <[email protected]>

Co-authored-by: Scott Suarez <[email protected]>
  • Loading branch information
modular-magician and ScottSuarez authored Nov 6, 2020
1 parent ab90c41 commit 016b6d4
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 0 deletions.
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

0 comments on commit 016b6d4

Please sign in to comment.