@@ -52,9 +52,10 @@ func TestParse(t *testing.T) {
52
52
Type : & proto.Parse_Response_Complete {
53
53
Complete : & proto.Parse_Complete {
54
54
ParameterSchemas : []* proto.ParameterSchema {{
55
- Name : "A" ,
56
- RedisplayValue : true ,
57
- Description : "Testing!" ,
55
+ Name : "A" ,
56
+ RedisplayValue : true ,
57
+ AllowOverrideSource : true ,
58
+ Description : "Testing!" ,
58
59
DefaultDestination : & proto.ParameterDestination {
59
60
Scheme : proto .ParameterDestination_PROVISIONER_VARIABLE ,
60
61
},
@@ -73,11 +74,12 @@ func TestParse(t *testing.T) {
73
74
Type : & proto.Parse_Response_Complete {
74
75
Complete : & proto.Parse_Complete {
75
76
ParameterSchemas : []* proto.ParameterSchema {{
76
- Name : "A" ,
77
- RedisplayValue : true ,
77
+ Name : "A" ,
78
+ RedisplayValue : true ,
79
+ AllowOverrideSource : true ,
78
80
DefaultSource : & proto.ParameterSource {
79
81
Scheme : proto .ParameterSource_DATA ,
80
- Value : "\" wow\" " ,
82
+ Value : "wow" ,
81
83
},
82
84
DefaultDestination : & proto.ParameterDestination {
83
85
Scheme : proto .ParameterDestination_PROVISIONER_VARIABLE ,
@@ -103,6 +105,7 @@ func TestParse(t *testing.T) {
103
105
RedisplayValue : true ,
104
106
ValidationCondition : `var.A == "value"` ,
105
107
ValidationTypeSystem : proto .ParameterSchema_HCL ,
108
+ AllowOverrideSource : true ,
106
109
DefaultDestination : & proto.ParameterDestination {
107
110
Scheme : proto .ParameterDestination_PROVISIONER_VARIABLE ,
108
111
},
0 commit comments