Skip to content

Commit

Permalink
KSM-562 Removed datasource type general (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
idimov-keeper authored Oct 4, 2024
1 parent 10fe1b7 commit 544fef6
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 346 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ Contents of `tf_acc_test.cmd`:
@cd /tf_acc_test_dir
@add title=tf_acc_test_field notes=tf_acc_test_field type=login fields.login=tf_acc_test_field
@add title=tf_acc_test_login notes=tf_acc_test_login type=login
@add title=tf_acc_test_general notes=tf_acc_test_general type=general
@add title=tf_acc_test_bank_account notes=tf_acc_test_bank_account type=bankAccount fields.bankAccount.accountNumber=1234
@add title=tf_acc_test_address notes=tf_acc_test_address type=address
@add title=tf_acc_test_bank_card notes=tf_acc_test_bank_card type=bankCard
Expand Down
38 changes: 0 additions & 38 deletions docs/data-sources/general.md

This file was deleted.

66 changes: 0 additions & 66 deletions examples/data-sources/general.tf

This file was deleted.

188 changes: 0 additions & 188 deletions secretsmanager/data_source_general.go

This file was deleted.

50 changes: 0 additions & 50 deletions secretsmanager/data_source_general_test.go

This file was deleted.

3 changes: 1 addition & 2 deletions secretsmanager/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ func Provider() *schema.Provider {
"secretsmanager_encrypted_notes": dataSourceEncryptedNotes(),
"secretsmanager_field": dataSourceField(),
"secretsmanager_file": dataSourceFile(),
"secretsmanager_general": dataSourceGeneral(),
"secretsmanager_health_insurance": dataSourceHealthInsurance(),
"secretsmanager_login": dataSourceLogin(),
"secretsmanager_membership": dataSourceMembership(),
Expand Down Expand Up @@ -130,7 +129,7 @@ var mapSchemaToRecordFieldName map[string]string = map[string]string{
"cardholder_name": "text", // bankCard
"db_type": "text", // databaseCredentials
"driver_license_number": "accountNumber", // driverLicense
"totp": "oneTimeCode", // login/general, bankAccount
"totp": "oneTimeCode", // login, bankAccount
"passport_number": "accountNumber", // passport
"date_issued": "date", // passport
"activation_date": "date", // softwareLicense
Expand Down
1 change: 0 additions & 1 deletion secretsmanager/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ func init() {
"encryptedNotes": {"uid": "*", "title": "tf_acc_test_encrypted_notes"},
"field": {"uid": "*/field/login", "title": "tf_acc_test_field"},
"file": {"uid": "*", "title": "tf_acc_test_file"},
"general": {"uid": "*", "title": "tf_acc_test_general"},
"healthInsurance": {"uid": "*", "title": "tf_acc_test_health_insurance"},
"login": {"uid": "*", "title": "tf_acc_test_login"},
"membership": {"uid": "*", "title": "tf_acc_test_membership"},
Expand Down

0 comments on commit 544fef6

Please sign in to comment.