mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat(oci): add
This commit is contained in:
parent
7f6562ea70
commit
1e79f4f23c
29 changed files with 308 additions and 34 deletions
13
tf/oci_compartment_bootstrap/user.tf
Normal file
13
tf/oci_compartment_bootstrap/user.tf
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
resource "oci_identity_user" "this" {
|
||||
compartment_id = local.child_compartment_id
|
||||
description = "The user for Terraform to use"
|
||||
name = "terraform"
|
||||
}
|
||||
|
||||
locals {
|
||||
child_compartment_user = oci_identity_user.this.id
|
||||
}
|
||||
|
||||
output "child_user_id" {
|
||||
value = local.child_compartment_user
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue