File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ package environments
12
12
13
13
import (
14
14
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
15
+ "github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault"
15
16
"github.com/hashicorp/terraform-plugin-framework/resource/schema/boolplanmodifier"
17
+ "github.com/hashicorp/terraform-plugin-framework/resource/schema/int32default"
16
18
"github.com/hashicorp/terraform-plugin-framework/resource/schema/int32planmodifier"
17
19
"github.com/hashicorp/terraform-plugin-framework/resource/schema/objectplanmodifier"
18
20
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
@@ -48,6 +50,8 @@ var FreeIpaSchema = schema.SingleNestedAttribute{
48
50
},
49
51
"instance_count_by_group" : schema.Int32Attribute {
50
52
Optional : true ,
53
+ Computed : true ,
54
+ Default : int32default .StaticInt32 (1 ),
51
55
PlanModifiers : []planmodifier.Int32 {
52
56
int32planmodifier .UseStateForUnknown (),
53
57
},
@@ -109,6 +113,8 @@ var FreeIpaSchema = schema.SingleNestedAttribute{
109
113
},
110
114
"multi_az" : schema.BoolAttribute {
111
115
Optional : true ,
116
+ Computed : true ,
117
+ Default : booldefault .StaticBool (false ),
112
118
PlanModifiers : []planmodifier.Bool {
113
119
boolplanmodifier .UseStateForUnknown (),
114
120
},
You can’t perform that action at this time.
0 commit comments