You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: `The node group instance group configuration.`,
1559
+
Optional: true,
1560
+
Computed: true,
1561
+
MaxItems: 1,
1562
+
Type: schema.TypeList,
1563
+
Elem: &schema.Resource{
1564
+
Schema: map[string]*schema.Schema{
1565
+
"num_instances": {
1566
+
Type: schema.TypeInt,
1567
+
Optional: true,
1568
+
ForceNew: true,
1569
+
Computed: true,
1570
+
Description: `Specifies the number of auxiliary nodes to create. If not specified, GCP will default to a predetermined computed value.`,
1571
+
},
1572
+
"machine_type": {
1573
+
Type: schema.TypeString,
1574
+
Optional: true,
1575
+
Computed: true,
1576
+
ForceNew: true,
1577
+
Description: `The name of a Google Compute Engine machine type to create for the master`,
1578
+
},
1579
+
"min_cpu_platform": {
1580
+
Type: schema.TypeString,
1581
+
Optional: true,
1582
+
Computed: true,
1583
+
ForceNew: true,
1584
+
Description: `The name of a minimum generation of CPU family for the auxiliary node group. If not specified, GCP will default to a predetermined computed value for each zone.`,
1585
+
},
1586
+
"disk_config": {
1587
+
1588
+
Type: schema.TypeList,
1589
+
Optional: true,
1590
+
Computed: true,
1591
+
MaxItems: 1,
1592
+
Description: `Disk Config`,
1593
+
Elem: &schema.Resource{
1594
+
Schema: map[string]*schema.Schema{
1595
+
"num_local_ssds": {
1596
+
Type: schema.TypeInt,
1597
+
Optional: true,
1598
+
Computed: true,
1599
+
Description: `The amount of local SSD disks that will be attached to each master cluster node. Defaults to 0.`,
1600
+
ForceNew: true,
1601
+
},
1602
+
1603
+
"boot_disk_size_gb": {
1604
+
Type: schema.TypeInt,
1605
+
Optional: true,
1606
+
Computed: true,
1607
+
Description: `Size of the primary disk attached to each node, specified in GB. The primary disk contains the boot volume and system libraries, and the smallest allowed disk size is 10GB. GCP will default to a predetermined computed value if not set (currently 500GB). Note: If SSDs are not attached, it also contains the HDFS data blocks and Hadoop working directories.`,
1608
+
ForceNew: true,
1609
+
ValidateFunc: validation.IntAtLeast(10),
1610
+
},
1611
+
1612
+
"boot_disk_type": {
1613
+
Type: schema.TypeString,
1614
+
Optional: true,
1615
+
Description: `The disk type of the primary disk attached to each node. Such as "pd-ssd" or "pd-standard". Defaults to "pd-standard".`,
1616
+
ForceNew: true,
1617
+
Default: "pd-standard",
1618
+
},
1619
+
},
1620
+
},
1621
+
},
1622
+
"accelerators": {
1623
+
Type: schema.TypeSet,
1624
+
Optional: true,
1625
+
ForceNew: true,
1626
+
Elem: acceleratorsSchema(),
1627
+
Description: `The Compute Engine accelerator (GPU) configuration for these instances. Can be specified multiple times.`,
1628
+
},
1629
+
"instance_names": {
1630
+
Type: schema.TypeList,
1631
+
Computed: true,
1632
+
Elem: &schema.Schema{Type: schema.TypeString},
1633
+
Description: `List of auxiliary node group instance names which have been assigned to the cluster.`,
1634
+
},
1635
+
},
1636
+
},
1637
+
},
1638
+
},
1639
+
},
1640
+
},
1641
+
"node_group_id": {
1642
+
Computed: true,
1643
+
Optional: true,
1644
+
ForceNew: true,
1645
+
Type: schema.TypeString,
1646
+
Description: `A node group ID. Generated if not specified. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.`,
0 commit comments