File tree Expand file tree Collapse file tree 4 files changed +28
-6
lines changed Expand file tree Collapse file tree 4 files changed +28
-6
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ data "ibm_pi_key" "key" {
2727data "ibm_sm_arbitrary_secret" "secret" {
2828 instance_id = var. secrets_manager_id
2929 region = " us-south"
30- name = " powervs -ssh-private-key"
30+ name = " build-cluster -ssh-private-key"
3131 secret_group_name = " default"
3232}
3333
@@ -45,6 +45,12 @@ resource "ibm_pi_network" "private_network" {
4545}
4646
4747resource "ibm_pi_network" "public_network" {
48+ lifecycle {
49+ ignore_changes = [
50+ pi_advertise ,
51+ pi_arp_broadcast ,
52+ ]
53+ }
4854 pi_network_name = " public-net"
4955 pi_cloud_instance_id = var. service_instance_id
5056 pi_network_type = " pub-vlan"
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ data "ibm_resource_group" "group" {
2828}
2929
3030resource "ibm_is_lb" "load_balancer_external" {
31+ lifecycle {
32+ ignore_changes = [
33+ resource_group
34+ ]
35+ }
3136 name = " k8s-control-plane-api-lb"
3237 resource_group = data. ibm_resource_group . group . id
3338 subnets = data. ibm_is_vpc . vpc . subnets . * . id
Original file line number Diff line number Diff line change @@ -146,15 +146,15 @@ variable "bastion" {
146146 type = object ({ memory = string , processors = string })
147147 default = {
148148 memory = " 8"
149- processors = " 0.5 "
149+ processors = " 0.25 "
150150 }
151151}
152152
153153variable "control_plane" {
154154 default = {
155155 count = 3
156156 memory = " 8"
157- processors = " 0.5 "
157+ processors = " 0.25 "
158158 }
159159 validation {
160160 condition = var. control_plane [" count" ] == 3
@@ -164,9 +164,9 @@ variable "control_plane" {
164164
165165variable "compute" {
166166 default = {
167- count = 2
168- memory = " 8 "
169- processors = " 0.5 "
167+ count = 5
168+ memory = " 42 "
169+ processors = " 2 "
170170 }
171171}
172172
Original file line number Diff line number Diff line change @@ -53,6 +53,17 @@ module "powervs_workspace_lon06" {
5353 image_name = var. image_name
5454}
5555
56+ module "powervs_workspace_lon06_1" {
57+ providers = {
58+ ibm = ibm.powervs_lon06
59+ }
60+ source = " ./modules/pvs_workspace"
61+ datacenter = " lon06"
62+ pi_workspace_name = " k8s-boskos-powervs-lon06-01"
63+ resource_group_id = module. resource_group . k8s_rg_id
64+ image_name = var. image_name
65+ }
66+
5667module "powervs_workspace_syd04" {
5768 providers = {
5869 ibm = ibm.powervs_syd04
You can’t perform that action at this time.
0 commit comments