C# name resolution
@@ -398,6 +398,14 @@ func importResourceLanguages(resource *Resource, languages map[string]Language)
}
}
+ if resource.StateInputs != nil {
+ for _, property := range resource.StateInputs.Properties {
+ if err := importPropertyLanguages(property, languages); err != nil {
+ return errors.Wrapf(err, "importing state input property %v", property.Name)
+ }
+ }
+ }
+
for _, name := range sortedLanguageNames(resource.Language) {
val := resource.Language[name]
if raw, ok := val.(json.RawMessage); ok {
