Q:Creating subnet using terraform and private IP
Summary
Q:Creating subnet using terraform and private IPContent
Hello,
when creating subnets using terraform I would like to Prohibit public IP addresses for Instances in this Subnet. I can't seem to find a parameter that configures this.
I tried something like this (but it didn't work) after looking at the API documentation, https://docs.us-phoenix-1.oraclecloud.com/api/#/en/iaas/20160918/requests/CreateSubnetDetails
resource "baremetal_core_subnet" "TF_PrivateSubnet_Web_PHX_0" {
availability_domain = "${lookup(data.baremetal_identity_availability_domains.ADs.availability_domains[0],"name")}"
cidr_block = "10.0.1.0/24"
display_name = "TF_PrivateSubnet_Web_PHX_0"
compartment_id = "${var.compartment_ocid}"
vcn_id = "${baremetal_core_virtual_network.TF_VCN_PHX.id}"