Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 773c677

Browse files
committed
resource.gcore_k8s keypair required, doc fixed
1 parent 2eb98b4 commit 773c677

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/gcore_k8s.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ resource "gcore_k8s" "v" {
4444

4545
- **fixed_network** (String)
4646
- **fixed_subnet** (String) Subnet should has router
47+
- **keypair** (String)
4748
- **name** (String)
4849
- **pool** (Block List, Min: 1, Max: 1) (see [below for nested schema](#nestedblock--pool))
4950

5051
### Optional
5152

5253
- **auto_healing_enabled** (Boolean)
5354
- **id** (String) The ID of this resource.
54-
- **keypair** (String)
5555
- **last_updated** (String)
5656
- **master_lb_floating_ip_enabled** (Boolean)
5757
- **pods_ip_pool** (String)

gcore/resource_gcore_k8s.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func resourceK8s() *schema.Resource {
116116
},
117117
"keypair": &schema.Schema{
118118
Type: schema.TypeString,
119-
Optional: true,
119+
Required: true,
120120
},
121121
"pool": &schema.Schema{
122122
Type: schema.TypeList,

0 commit comments

Comments
 (0)