File tree Expand file tree Collapse file tree 4 files changed +1
-89
lines changed Expand file tree Collapse file tree 4 files changed +1
-89
lines changed Original file line number Diff line number Diff line change 6565 go-version : ${{ env.GO_VERSION }}
6666 - uses : hashicorp/setup-terraform@v3
6767 - run : go tool tfplugindocs validate
68+ - run : go tool tfplugindocs generate
Original file line number Diff line number Diff line change @@ -179,32 +179,6 @@ func ResourceInstance() *schema.Resource {
179179 },
180180 },
181181 },
182- "public_network" : {
183- Type : schema .TypeList ,
184- Optional : true ,
185- Computed : true ,
186- MaxItems : 1 ,
187- Description : "Public network specs details" ,
188- Elem : & schema.Resource {
189- Schema : map [string ]* schema.Schema {
190- "id" : {
191- Type : schema .TypeString ,
192- Computed : true ,
193- Description : "ID of the public network" ,
194- },
195- "port" : {
196- Type : schema .TypeInt ,
197- Computed : true ,
198- Description : "TCP port of the endpoint" ,
199- },
200- "dns_record" : {
201- Type : schema .TypeString ,
202- Computed : true ,
203- Description : "The DNS record of your endpoint" ,
204- },
205- },
206- },
207- },
208182 "tags" : {
209183 Type : schema .TypeList ,
210184 Optional : true ,
Original file line number Diff line number Diff line change @@ -50,42 +50,6 @@ func ResourceReadReplica() *schema.Resource {
5050 ForceNew : true ,
5151 Description : "Defines whether to create the replica in the same availability zone as the main instance nodes or not." ,
5252 },
53- "direct_access" : {
54- Type : schema .TypeList ,
55- Optional : true ,
56- Description : "Direct access endpoint, it gives you an IP and a port to access your read-replica" ,
57- MaxItems : 1 ,
58- Elem : & schema.Resource {
59- Schema : map [string ]* schema.Schema {
60- // Endpoints common
61- "endpoint_id" : {
62- Type : schema .TypeString ,
63- Description : "UUID of the endpoint (UUID format)." ,
64- Computed : true ,
65- },
66- "ip" : {
67- Type : schema .TypeString ,
68- Description : "IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set." ,
69- Computed : true ,
70- },
71- "port" : {
72- Type : schema .TypeInt ,
73- Description : "TCP port of the endpoint." ,
74- Computed : true ,
75- },
76- "name" : {
77- Type : schema .TypeString ,
78- Description : "Name of the endpoint." ,
79- Computed : true ,
80- },
81- "hostname" : {
82- Type : schema .TypeString ,
83- Description : "Hostname of the endpoint. Only one of ip and hostname may be set." ,
84- Computed : true ,
85- },
86- },
87- },
88- },
8953 "private_network" : {
9054 Type : schema .TypeList ,
9155 Optional : true ,
Original file line number Diff line number Diff line change @@ -182,33 +182,6 @@ func ResourceCluster() *schema.Resource {
182182 },
183183 },
184184 // Computed
185- "public_network" : {
186- Type : schema .TypeList ,
187- Optional : true ,
188- Computed : true ,
189- MaxItems : 1 ,
190- Description : "Public network specs details" ,
191- Elem : & schema.Resource {
192- Schema : map [string ]* schema.Schema {
193- "id" : {
194- Type : schema .TypeString ,
195- Computed : true ,
196- },
197- "port" : {
198- Type : schema .TypeInt ,
199- Computed : true ,
200- Description : "TCP port of the endpoint" ,
201- },
202- "ips" : {
203- Type : schema .TypeList ,
204- Elem : & schema.Schema {
205- Type : schema .TypeString ,
206- },
207- Computed : true ,
208- },
209- },
210- },
211- },
212185 "private_ips" : {
213186 Type : schema .TypeList ,
214187 Computed : true ,
You can’t perform that action at this time.
0 commit comments