Skip to content

Commit 962adda

Browse files
committed
make semgrep-fix
1 parent b535e4a commit 962adda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/service/emrserverless/application.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ func resourceApplication() *schema.Resource {
238238
Type: schema.TypeString,
239239
Required: true,
240240
},
241-
"properties": {
241+
names.AttrProperties: {
242242
Type: schema.TypeMap,
243243
Optional: true,
244244
Elem: &schema.Schema{Type: schema.TypeString},
@@ -990,7 +990,7 @@ func expandRuntimeConfiguration(tfList []any) []types.Configuration {
990990
apiObject.Classification = aws.String(v)
991991
}
992992

993-
if v, ok := tfMap["properties"].(map[string]any); ok && len(v) > 0 {
993+
if v, ok := tfMap[names.AttrProperties].(map[string]any); ok && len(v) > 0 {
994994
apiObject.Properties = flex.ExpandStringValueMap(v)
995995
}
996996

@@ -1015,7 +1015,7 @@ func flattenRuntimeConfiguration(apiObjects []types.Configuration) []any {
10151015
}
10161016

10171017
if v := apiObject.Properties; v != nil {
1018-
tfMap["properties"] = flex.FlattenStringValueMap(v)
1018+
tfMap[names.AttrProperties] = flex.FlattenStringValueMap(v)
10191019
}
10201020

10211021
tfList = append(tfList, tfMap)

0 commit comments

Comments
 (0)