File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
internal/service/codebuild Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ func resourceFleet() *schema.Resource {
58
58
Optional : true ,
59
59
Computed : true ,
60
60
},
61
- "instance_type" : {
61
+ names . AttrInstanceType : {
62
62
Type : schema .TypeString ,
63
63
Optional : true ,
64
64
Computed : true ,
@@ -591,7 +591,7 @@ func expandComputeConfiguration(tfMap map[string]any) *types.ComputeConfiguratio
591
591
apiObject .MachineType = types .MachineType (v )
592
592
}
593
593
594
- if v , ok := tfMap ["instance_type" ].(string ); ok && v != "" {
594
+ if v , ok := tfMap [names . AttrInstanceType ].(string ); ok && v != "" {
595
595
apiObject .InstanceType = aws .String (v )
596
596
}
597
597
@@ -685,7 +685,7 @@ func flattenComputeConfiguration(apiObject *types.ComputeConfiguration) map[stri
685
685
}
686
686
687
687
if v := apiObject .InstanceType ; v != nil {
688
- tfMap ["instance_type" ] = aws .ToString (v )
688
+ tfMap [names . AttrInstanceType ] = aws .ToString (v )
689
689
}
690
690
691
691
if v := apiObject .Memory ; v != nil {
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ func dataSourceFleet() *schema.Resource {
40
40
Type : schema .TypeInt ,
41
41
Computed : true ,
42
42
},
43
- "instance_type" : {
43
+ names . AttrInstanceType : {
44
44
Type : schema .TypeString ,
45
45
Computed : true ,
46
46
},
You can’t perform that action at this time.
0 commit comments