From d349e86590a404c415ba9d62f749108b3e935f12 Mon Sep 17 00:00:00 2001 From: Nabil Lahssini Date: Tue, 26 Sep 2023 14:42:50 +0200 Subject: [PATCH] Add documentation --- docs/resources/connection.md | 5 ++++- examples/resources/looker_connection/resource.tf | 1 + examples/resources/looker_connection/resource.tfshow | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/resources/connection.md b/docs/resources/connection.md index 142ee8b..5cf73d8 100644 --- a/docs/resources/connection.md +++ b/docs/resources/connection.md @@ -18,6 +18,7 @@ resource "looker_connection" "example" { password = "polite-sculpin" ssl = true max_connections = 5 + user_attribute_fields = [] } ``` @@ -32,10 +33,11 @@ resource "looker_connection" "example" { id = "testdummy901" max_connections = 5 name = "testdummy901" -# password = (sensitive value) + password = (sensitive value) port = "5432" ssl = true username = "hegdgxme" + user_attribute_fields = [] } ``` @@ -340,6 +342,7 @@ resource "looker_connection" "example" { - `ssl` (Boolean) - `tmp_db_name` (String) - `tunnel_id` (String) +- `user_attribute_fields` (List of String) - `user_db_credentials` (Boolean) - `username` (String) - `verify_ssl` (Boolean) diff --git a/examples/resources/looker_connection/resource.tf b/examples/resources/looker_connection/resource.tf index 4ccc6e3..646970d 100644 --- a/examples/resources/looker_connection/resource.tf +++ b/examples/resources/looker_connection/resource.tf @@ -8,4 +8,5 @@ resource "looker_connection" "example" { password = "polite-sculpin" ssl = true max_connections = 5 + user_attribute_fields = [] } \ No newline at end of file diff --git a/examples/resources/looker_connection/resource.tfshow b/examples/resources/looker_connection/resource.tfshow index 3d4a13a..b1a79e3 100644 --- a/examples/resources/looker_connection/resource.tfshow +++ b/examples/resources/looker_connection/resource.tfshow @@ -7,8 +7,9 @@ resource "looker_connection" "example" { id = "testdummy901" max_connections = 5 name = "testdummy901" -# password = (sensitive value) + password = (sensitive value) port = "5432" ssl = true username = "hegdgxme" + user_attribute_fields = [] } \ No newline at end of file