mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
feat(oci): add
This commit is contained in:
parent
7f6562ea70
commit
1e79f4f23c
29 changed files with 308 additions and 34 deletions
24
tf/oci_compartment_bootstrap/api_key.tf
Normal file
24
tf/oci_compartment_bootstrap/api_key.tf
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
resource "oci_identity_api_key" "this" {
|
||||
key_value = local.child_compartment_public_key
|
||||
user_id = local.child_compartment_user
|
||||
}
|
||||
|
||||
locals {
|
||||
child_compartment_api_key = oci_identity_api_key.this
|
||||
}
|
||||
|
||||
output "child_compartment_key_fingerprint" {
|
||||
value = local.child_compartment_api_key.fingerprint
|
||||
}
|
||||
|
||||
output "child_compartment_key_id" {
|
||||
value = local.child_compartment_api_key.id
|
||||
}
|
||||
|
||||
output "child_compartment_key_value" {
|
||||
value = local.child_compartment_api_key.key_value
|
||||
}
|
||||
|
||||
output "child_compartment_key_state" {
|
||||
value = local.child_compartment_api_key.state
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue