@@ -41,49 +41,57 @@ func (r resourceVPCPeeringType) GetSchema(_ context.Context) (tfsdk.Schema, diag
41
41
Computed : true ,
42
42
},
43
43
"name" : {
44
- Description : "The name of the VPC peering." ,
45
- Type : types .StringType ,
46
- Required : true ,
44
+ Description : "The name of the VPC peering." ,
45
+ Type : types .StringType ,
46
+ Required : true ,
47
+ PlanModifiers : tfsdk.AttributePlanModifiers {tfsdk .RequiresReplace ()},
47
48
},
48
49
"yugabytedb_vpc_id" : {
49
- Description : "The ID of the VPC where the YugabyteDB cluster is deployed." ,
50
- Type : types .StringType ,
51
- Required : true ,
50
+ Description : "The ID of the VPC where the YugabyteDB cluster is deployed." ,
51
+ Type : types .StringType ,
52
+ Required : true ,
53
+ PlanModifiers : tfsdk.AttributePlanModifiers {tfsdk .RequiresReplace ()},
52
54
},
53
55
"application_vpc_info" : {
54
56
Description : "The details for the VPC where the application is deployed." ,
55
57
Required : true ,
56
58
Attributes : tfsdk .SingleNestedAttributes (map [string ]tfsdk.Attribute {
57
59
"cloud" : {
58
- Description : "The cloud provider (AWS, AZURE or GCP) where the application is deployed." ,
59
- Type : types .StringType ,
60
- Required : true ,
60
+ Description : "The cloud provider (AWS, AZURE or GCP) where the application is deployed." ,
61
+ Type : types .StringType ,
62
+ Required : true ,
63
+ PlanModifiers : tfsdk.AttributePlanModifiers {tfsdk .RequiresReplace ()},
61
64
},
62
65
"project" : {
63
- Description : "The project ID for GCP." ,
64
- Type : types .StringType ,
65
- Optional : true ,
66
+ Description : "The project ID for GCP." ,
67
+ Type : types .StringType ,
68
+ Optional : true ,
69
+ PlanModifiers : tfsdk.AttributePlanModifiers {tfsdk .RequiresReplace ()},
66
70
},
67
71
"account_id" : {
68
- Description : "The account ID for AWS." ,
69
- Type : types .StringType ,
70
- Optional : true ,
72
+ Description : "The account ID for AWS." ,
73
+ Type : types .StringType ,
74
+ Optional : true ,
75
+ PlanModifiers : tfsdk.AttributePlanModifiers {tfsdk .RequiresReplace ()},
71
76
},
72
77
"region" : {
73
- Description : "The region where the application is deployed." ,
74
- Type : types .StringType ,
75
- Optional : true ,
78
+ Description : "The region where the application is deployed." ,
79
+ Type : types .StringType ,
80
+ Optional : true ,
81
+ PlanModifiers : tfsdk.AttributePlanModifiers {tfsdk .RequiresReplace ()},
76
82
},
77
83
"vpc_id" : {
78
- Description : "The ID of the VPC in which the application is deployed." ,
79
- Type : types .StringType ,
80
- Required : true ,
84
+ Description : "The ID of the VPC in which the application is deployed." ,
85
+ Type : types .StringType ,
86
+ Required : true ,
87
+ PlanModifiers : tfsdk.AttributePlanModifiers {tfsdk .RequiresReplace ()},
81
88
},
82
89
"cidr" : {
83
- Description : "The CIDR of the VPC in which the application is deployed." ,
84
- Type : types .StringType ,
85
- Computed : true ,
86
- Optional : true ,
90
+ Description : "The CIDR of the VPC in which the application is deployed." ,
91
+ Type : types .StringType ,
92
+ Computed : true ,
93
+ Optional : true ,
94
+ PlanModifiers : tfsdk.AttributePlanModifiers {tfsdk .RequiresReplace ()},
87
95
},
88
96
}),
89
97
},
0 commit comments