mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat(oci): change cloudinit
This commit is contained in:
parent
4770a8ed3f
commit
7f34a86a5c
5 changed files with 25 additions and 6 deletions
10
tf/oci_servers/vnic.tf
Normal file
10
tf/oci_servers/vnic.tf
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
data "oci_core_vnic_attachments" "flex" {
|
||||
compartment_id = var.tenancy_ocid
|
||||
instance_id = local.flex.id
|
||||
}
|
||||
|
||||
data "oci_core_vnic_attachments" "micros" {
|
||||
count = 2
|
||||
compartment_id = var.tenancy_ocid
|
||||
instance_id = local.micros[count.index].id
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue