feat(oci): add email to new user

This commit is contained in:
Kat Inskip 2024-06-08 18:08:32 -07:00
parent ec8ed664ff
commit a55e60260a
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
4 changed files with 14 additions and 5 deletions

View file

@ -1,7 +1,12 @@
variable "user_email" {
type = string
}
resource "oci_identity_user" "this" {
compartment_id = local.child_compartment_id
description = "The user for Terraform to use"
name = "terraform"
email = var.user_email
}
locals {