File tree Expand file tree Collapse file tree 2 files changed +46
-20
lines changed
Expand file tree Collapse file tree 2 files changed +46
-20
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,7 @@ resource "spectrocloud_cluster_maas" "cluster" {
3232 cloud_account_id = data.spectrocloud_cloudaccount_maas.account.id
3333
3434 cloud_config {
35- subscription_id = "subscription-id"
36- resource_group = "dev"
37- ssh_key = "ssh key value"
38- region = "centralus"
35+ domain = "maas.mycompany.com"
3936 }
4037
4138 cluster_profile {
@@ -78,12 +75,28 @@ resource "spectrocloud_cluster_maas" "cluster" {
7875 }
7976
8077 machine_pool {
81- name = "worker-basic"
82- count = 1
83- instance_type = "Standard_DS4"
84- disk_size_gb = 60
85- is_system_node_pool = true
86- storage_account_type = "Standard_LRS"
78+ name = "control-plane"
79+ count = 1
80+ control_plane = true
81+ instance_type {
82+ min_cpu = 8
83+ min_memory_mb = 16000
84+ }
85+ placement {
86+ resource_pool = "Production-Compute-Pool-1"
87+ }
88+ }
89+
90+ machine_pool {
91+ name = "worker-basic"
92+ count = 1
93+ instance_type {
94+ min_cpu = 8
95+ min_memory_mb = 32000
96+ }
97+ placement {
98+ resource_pool = "Production-Compute-Pool-2"
99+ }
87100 }
88101}
89102```
Original file line number Diff line number Diff line change @@ -32,10 +32,7 @@ resource "spectrocloud_cluster_maas" "cluster" {
3232 cloud_account_id = data.spectrocloud_cloudaccount_maas.account.id
3333
3434 cloud_config {
35- subscription_id = "subscription-id"
36- resource_group = "dev"
37- ssh_key = "ssh key value"
38- region = "centralus"
35+ domain = "maas.mycompany.com"
3936 }
4037
4138 cluster_profile {
@@ -78,12 +75,28 @@ resource "spectrocloud_cluster_maas" "cluster" {
7875 }
7976
8077 machine_pool {
81- name = "worker-basic"
82- count = 1
83- instance_type = "Standard_DS4"
84- disk_size_gb = 60
85- is_system_node_pool = true
86- storage_account_type = "Standard_LRS"
78+ name = "control-plane"
79+ count = 1
80+ control_plane = true
81+ instance_type {
82+ min_cpu = 8
83+ min_memory_mb = 16000
84+ }
85+ placement {
86+ resource_pool = "Production-Compute-Pool-1"
87+ }
88+ }
89+
90+ machine_pool {
91+ name = "worker-basic"
92+ count = 1
93+ instance_type {
94+ min_cpu = 8
95+ min_memory_mb = 32000
96+ }
97+ placement {
98+ resource_pool = "Production-Compute-Pool-2"
99+ }
87100 }
88101}
89102` ` `
You can’t perform that action at this time.
0 commit comments