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

Add support for parameter manager parameter datasource google_parameter_manager_parameter #20953

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/12639.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-datasource
`google_parameter_manager_parameter`
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package parametermanager
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package parametermanager_test
31 changes: 31 additions & 0 deletions website/docs/d/parameter_manager_parameter.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
subcategory: "Parameter Manager"
description: |-
Get information about a Parameter Manager Parameter.
---

# google_parameter_manager_parameter

Use this data source to get information about a Parameter Manager Parameter.

~> **Warning:** This datasource 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 datasources.

## Example Usage

```hcl
data "google_parameter_manager_parameter" "parameter_datasource" {
parameter_id = "foobar"
}
```

## Argument Reference

The following arguments are supported:

* `parameter_id` - (required) The name of the parameter.

* `project` - (optional) The ID of the project in which the resource belongs.

## Attributes Reference
See [google_parameter_manager_parameter](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/parameter_manager_parameter) resource for details of all the available attributes.
Loading