Skip to content

Commit

Permalink
Merge pull request #52 from ulucinar/fix-secret_data-docs
Browse files Browse the repository at this point in the history
Remove Terraform-specific comments from the  secretmanager.SecretVersion's SecretDataSecretRef field
  • Loading branch information
ulucinar authored Nov 14, 2022
2 parents 9d51c92 + 2c1fe69 commit 261d88a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion apis/secretmanager/v1beta1/zz_secretversion_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/secretmanager/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ func Configure(p *config.Provider) {
Type: "Secret",
Extractor: common.ExtractResourceIDFuncPath,
}
r.MetaResource.ArgumentDocs["secret_data"] = `The secret data. Must be no larger than 64KiB.`
})
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ spec:
description: Secret Manager secret resource
type: string
secretDataSecretRef:
description: 'The secret data. Must be no larger than 64KiB. Note:
This property is sensitive and will not be displayed in the
plan.'
description: The secret data. Must be no larger than 64KiB.
properties:
key:
description: The key to select.
Expand Down

0 comments on commit 261d88a

Please sign in to comment.