You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Terraform: oci_containerengine_node_pool: subnets and node_config_details

edited Sep 16, 2019 6:55PM in OCI - General 1 comment

Summary

Terraform: oci_containerengine_node_pool: subnets and node_config_details

Content

As per current doc, subnets property in node pool is deprecated and we need to use nodeConfigDetails (https://www.terraform.io/docs/providers/oci/r/containerengine_node_pool.html).

 

But getting an error when using nodeConfigDetails

 

Error:

 

on modules/vcn/modules/data_plane/modules/data_plane_oke/modules/node_pool/node_pool_main.tf line 6, in resource "oci_containerengine_node_pool" "node_pool":
   6: resource "oci_containerengine_node_pool" "node_pool" {

The argument "subnet_ids" is required, but no definition was found.


Error: Unsupported block type

  on modules/vcn/modules/data_plane/modules/data_plane_oke/modules/node_pool/node_pool_main.tf line 14, in resource "oci_containerengine_node_pool" "node_pool":

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!