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 }