add vault & common kms keys

This commit is contained in:
2024-05-28 02:31:42 +06:00
parent e25184900b
commit f9a7d98aef
3 changed files with 48 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@ resource "oci_core_instance" "compute" {
source_details {
source_type = "image"
source_id = data.oci_core_images.selected[each.value.key].images[0].id
kms_key_id = var.use_vault.volume ? try(data.oci_kms_key.key["volume"].id, null) : null
boot_volume_size_in_gbs = each.value.key == "flex" ? 100 : 50
boot_volume_vpus_per_gb = 120
is_preserve_boot_volume_enabled = false