From 5c82409e9cc3a174fb9ea82fd09bff388a175a6c Mon Sep 17 00:00:00 2001 From: Joseph Bennett Date: Fri, 6 Oct 2023 22:32:58 -0400 Subject: [PATCH] fix typo on line 373 of resource_connection.go (#48) * fix typo on line 373 of resource_connection.go * fix typo on line 176 resource_connection.go * Updates docs/resources/connection.md to fix typo. --------- Co-authored-by: Joseph Bennett Co-authored-by: hirosassa --- docs/resources/connection.md | 2 +- pkg/looker/resource_connection.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/resources/connection.md b/docs/resources/connection.md index 12130ab..3bfc511 100644 --- a/docs/resources/connection.md +++ b/docs/resources/connection.md @@ -93,7 +93,7 @@ Optional: - `file_type` (String) - `host` (String) - `jdbc_additional_params` (String) -- `passowrd` (String, Sensitive) +- `password` (String, Sensitive) - `port` (String) - `schema` (String) - `username` (String) diff --git a/pkg/looker/resource_connection.go b/pkg/looker/resource_connection.go index 54860c4..3419cea 100644 --- a/pkg/looker/resource_connection.go +++ b/pkg/looker/resource_connection.go @@ -173,7 +173,7 @@ func resourceConnection() *schema.Resource { ForceNew: true, Optional: true, }, - "passowrd": { + "password": { Type: schema.TypeString, ForceNew: true, Optional: true, @@ -370,7 +370,7 @@ func expandWriteDBConnection(d *schema.ResourceData) (*apiclient.WriteDBConnecti tmpDbName := v.(string) writeDBConnection.TmpDbName = &tmpDbName } - if v, ok := d.GetOk("jdbc_addtional_params"); ok { + if v, ok := d.GetOk("jdbc_additional_params"); ok { jdbcAdditionalParams := v.(string) writeDBConnection.JdbcAdditionalParams = &jdbcAdditionalParams }