Skip to content

Commit

Permalink
fix: adjust link to dotenv_sensitive data source (#16)
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Oliver Drechsel <[email protected]>
  • Loading branch information
kimdre authored Jun 23, 2024
1 parent 383c976 commit b2bd8bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/dotenv.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ output "foo" {

### Read-Only

- `entries` (Map of String) Key-Value entries of the dotenv file. The values are by default considered nonsensitive. If you want to treat the values as sensitive, you can use the [`dotenv_sensitive`](https://registry.terraform.io/providers/germanbrew/dotenv/latest/docs/data-sources/dotenv_sensitive) data source or [`sensitive()`](https://developer.hashicorp.com/terraform/language/functions/sensitive) function.
- `entries` (Map of String) Key-Value entries of the dotenv file. The values are by default considered nonsensitive. If you want to treat the values as sensitive, you can use the [`dotenv_sensitive`](https://registry.terraform.io/providers/germanbrew/dotenv/latest/docs/data-sources/sensitive) data source or [`sensitive()`](https://developer.hashicorp.com/terraform/language/functions/sensitive) function.
2 changes: 1 addition & 1 deletion internal/provider/file_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (d *fileDotEnvDataSource) Schema(ctx context.Context, req datasource.Schema
"entries": schema.MapAttribute{
MarkdownDescription: "Key-Value entries of the dotenv file. The values are by default considered nonsensitive. " +
"If you want to treat the values as sensitive, you can use the " +
"[`dotenv_sensitive`](https://registry.terraform.io/providers/germanbrew/dotenv/latest/docs/data-sources/dotenv_sensitive) data source " +
"[`dotenv_sensitive`](https://registry.terraform.io/providers/germanbrew/dotenv/latest/docs/data-sources/sensitive) data source " +
"or [`sensitive()`](https://developer.hashicorp.com/terraform/language/functions/sensitive) function.",
Computed: true,
ElementType: types.StringType,
Expand Down

0 comments on commit b2bd8bf

Please sign in to comment.