mirror of https://github.com/crossplane/docs.git
docs(transform): Add docs for hash transform (#293)
Signed-off-by: Maximilian Blatt <maximilian.blatt-extern@deutschebahn.com> Signed-off-by: Maximilian Blatt <maximilian.blatt-extern@deutschebahn.com>
This commit is contained in:
parent
8a67af56c7
commit
0e8d93f756
|
@ -749,6 +749,12 @@ Currently only `multiply` is supported.
|
|||
regexp:
|
||||
match: 'arn:aws:iam::(\d+):.*'
|
||||
group: 1 # Optional capture group. Omit to match the entire regexp.
|
||||
|
||||
# The output will be the hash of the JSON representation of the 'from' field.
|
||||
- type: string
|
||||
string:
|
||||
type: Convert
|
||||
convert: ToSha1 # alternatives: 'ToSha256' or 'ToSha512'
|
||||
```
|
||||
|
||||
`convert`. Transforms values of one type to another, for example from a string
|
||||
|
|
Loading…
Reference in New Issue