mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat(oci): add
This commit is contained in:
parent
7f6562ea70
commit
1e79f4f23c
29 changed files with 308 additions and 34 deletions
56
tf/oci_compartment_bootstrap.tf
Normal file
56
tf/oci_compartment_bootstrap.tf
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
# Populate in via variables to avoid secret leakage
|
||||
|
||||
variable "oci_compartment_bootstrap_private_key" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "oci_compartment_bootstrap_region" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "oci_compartment_bootstrap_tenancy_ocid" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "oci_compartment_bootstrap_user_ocid" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "oci_compartment_bootstrap_fingerprint" {
|
||||
type = string
|
||||
}
|
||||
|
||||
# OCI Compartment Bootstrap
|
||||
module "oci_compartment_bootstrap" {
|
||||
source = "./oci_compartment_bootstrap"
|
||||
|
||||
private_key = var.oci_compartment_bootstrap_private_key
|
||||
region = var.oci_compartment_bootstrap_region
|
||||
tenancy_ocid = var.oci_compartment_bootstrap_tenancy_ocid
|
||||
user_ocid = var.oci_compartment_bootstrap_user_ocid
|
||||
fingerprint = var.oci_compartment_bootstrap_fingerprint
|
||||
}
|
||||
|
||||
output "oci_compartment_bootstrap_child_user_id" {
|
||||
value = module.oci_compartment_bootstrap.child_user_id
|
||||
}
|
||||
|
||||
output "oci_compartment_bootstrap_child_compartment_id" {
|
||||
value = module.oci_compartment_bootstrap.child_compartment_id
|
||||
}
|
||||
|
||||
output "oci_compartment_bootstrap_child_compartment_key_id" {
|
||||
value = module.oci_compartment_bootstrap.child_compartment_key_id
|
||||
}
|
||||
|
||||
output "oci_compartment_bootstrap_child_compartment_key_fingerprint" {
|
||||
value = module.oci_compartment_bootstrap.child_compartment_key_fingerprint
|
||||
}
|
||||
|
||||
output "oci_compartment_bootstrap_child_compartment_key_value" {
|
||||
value = module.oci_compartment_bootstrap.child_compartment_key_value
|
||||
}
|
||||
|
||||
output "oci_compartment_bootstrap_child_compartment_key_state" {
|
||||
value = module.oci_compartment_bootstrap.child_compartment_key_state
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue