Skip to content

Commit

Permalink
Fixed docs data
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanratcliffe committed Aug 9, 2024
1 parent 9764ac0 commit 8566152
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 9 additions & 1 deletion docs-data/kms-key.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
{
"type": "kms-key",
"descriptiveType": "KMS Key",
"group": "",
"getDescription": "Get a KMS Key by its ID",
"listDescription": "List all KMS Keys",
"searchDescription": "Search for KMS Keys by ARN",
"group": "AWS",
"terraformQuery": [
"aws_kms_key.key_id"
],
"terraformMethod": "GET",
"terraformScope": "*",
"links": [
"kms-custom-key-store"
]
Expand Down
10 changes: 5 additions & 5 deletions sources/kms/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ func getFunc(ctx context.Context, client kmsClient, scope string, input *kms.Des
//go:generate docgen ../../docs-data
// +overmind:type kms-key
// +overmind:descriptiveType KMS Key
// +overmind: get Get a KMS Key by its ID
// +overmind: list List all KMS Keys
// +overmind: search Search for KMS Keys by ARN
// +overmind: group AWS
// +overmind: terraform:queryMap aws_kms_key.key_id
// +overmind:get Get a KMS Key by its ID
// +overmind:list List all KMS Keys
// +overmind:search Search for KMS Keys by ARN
// +overmind:group AWS
// +overmind:terraform:queryMap aws_kms_key.key_id

func NewKeySource(client kmsClient, accountID, region string) *sources.AlwaysGetSource[*kms.ListKeysInput, *kms.ListKeysOutput, *kms.DescribeKeyInput, *kms.DescribeKeyOutput, kmsClient, *kms.Options] {
return &sources.AlwaysGetSource[*kms.ListKeysInput, *kms.ListKeysOutput, *kms.DescribeKeyInput, *kms.DescribeKeyOutput, kmsClient, *kms.Options]{
Expand Down

0 comments on commit 8566152

Please sign in to comment.