This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Inconsistent casing of 'JSON' when generating new struct with a sensitive field #251
Labels
bug
Something isn't working
What happened?
I have a sensitive field called
data_json
in the upstream terraform resource.When running code generation, this is converted into a sensitive field like so:
This creates a GetConnectionDetailsMapping like this:
This results in the error:
The argument "data_json" is required, but no definition was found.
The error clears when changing the mapping to
spec.forProvider.dataJsonSecretRef
.How can we reproduce it?
It would most likely affect any field which contained
_json
in the nameThe text was updated successfully, but these errors were encountered: