broad-zoo-34077
02/05/2022, 9:39 PMcrooked-daybreak-55253
02/05/2022, 11:09 PMI guess I would have expect to see the previous cost be that of my last PR.The differences show the cost changes that would occur if you apply the TF plan, so if you un-applied changes in your main branch then you will see the costs for those too.
crooked-daybreak-55253
02/05/2022, 11:21 PMWhy is it reporting e2-medium for the default-pools?It looks like e2-medium is the default machine type in the terraform docs, but i’m guessing you were expecting e2-micro since that’s what’s in the shared vars file… what does the TF plan show for machine type?
jolly-pilot-68525
02/06/2022, 12:36 AMjolly-pilot-68525
02/06/2022, 12:39 AMjolly-pilot-68525
02/06/2022, 12:41 AMgoogle_container_node_pool.this
resource and the plan does show it. I would have expected the same from google_container_cluster
, weird.crooked-daybreak-55253
02/07/2022, 7:02 PMnode_config
block, not a nested one node_pools [ node_config…
. So if I add that:
resource "google_container_cluster" "this" {
node_config {
machine_type = var.machine_type
}
...
I see the ec2-micro pricing for default_pool.crooked-daybreak-55253
02/07/2022, 7:03 PMname = "default-pool"
in the `node_pool`block that you want the default to use e2-micro?jolly-pilot-68525
02/09/2022, 1:22 AMcrooked-daybreak-55253
02/09/2022, 12:58 PMjolly-pilot-68525
02/10/2022, 12:16 AM