Difference between revisions of "Terraform resource: aws identitystore user"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/identitystore_user
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/identitystore_user
  
 +
== Example ==
 +
 +
resource "aws_identitystore_user" "example" {
 +
  identity_store_id = tolist(data.aws_ssoadmin_instances.example.identity_store_ids)[0]
 +
 +
  display_name = "John Doe"
 +
  user_name    = "johndoe"
 +
 +
  name {
 +
    given_name  = "John"
 +
    family_name = "Doe"
 +
  }
 +
 +
  emails {
 +
    value = "[email protected]"
 +
  }
 +
}
  
 
== See also ==
 
== See also ==

Revision as of 10:42, 27 February 2023

Example

resource "aws_identitystore_user" "example" {
 identity_store_id = tolist(data.aws_ssoadmin_instances.example.identity_store_ids)[0]

 display_name = "John Doe"
 user_name    = "johndoe"

 name {
   given_name  = "John"
   family_name = "Doe"
 }

 emails {
   value = "[email protected]"
 }
}

See also

Advertising: