Created
September 3, 2019 10:19
-
-
Save simonmcc/cbe2b879cbd6e6d428e879eb0e3eb61a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
smccartney@UKBEL-MLSRSM:terraform-for-each-azuread $ terraform apply | |
random_string.temp_password2: Refreshing state... [id=XXXXXX] | |
azuread_user.users["smccartney_test2"]: Refreshing state... [id=152babc5-6207-41bf-8d6d-6e703221ccc5] | |
azuread_user.users["smccartney_test1"]: Refreshing state... [id=d84f95f2-b809-424d-a220-9b28379199e6] | |
azuread_group.SuperUsers_XXX: Refreshing state... [id=d80bd449-448b-42d8-ae64-bc3cb7bcbeb8] | |
An execution plan has been generated and is shown below. | |
Resource actions are indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: | |
# azuread_user.users["smccartney_test3"] will be created | |
+ resource "azuread_user" "users" { | |
+ account_enabled = true | |
+ display_name = "smccartney_test3" | |
+ force_password_change = false | |
+ id = (known after apply) | |
+ mail = (known after apply) | |
+ mail_nickname = (known after apply) | |
+ object_id = (known after apply) | |
+ password = (sensitive value) | |
+ user_principal_name = "[email protected]" | |
} | |
Plan: 1 to add, 0 to change, 0 to destroy. | |
Do you want to perform these actions? | |
Terraform will perform the actions described above. | |
Only 'yes' will be accepted to approve. | |
Enter a value: yes | |
azuread_user.users["smccartney_test3"]: Creating... | |
azuread_user.users["smccartney_test3"]: Still creating... [10s elapsed] | |
azuread_user.users["smccartney_test3"]: Creation complete after 11s [id=ef9b0f5b-d45e-4d17-baa5-940b4bd76b8b] | |
Apply complete! Resources: 1 added, 0 changed, 0 destroyed. | |
smccartney@UKBEL-MLSRSM:terraform-for-each-azuread $ terraform state show azuread_group.SuperUsers_XXX | |
# azuread_group.SuperUsers_XXX: | |
resource "azuread_group" "SuperUsers_XXX" { | |
id = "d80bd449-448b-42d8-ae64-bc3cb7bcbeb8" | |
members = [ | |
"152babc5-6207-41bf-8d6d-6e703221ccc5", | |
] | |
name = "SuperUsers_US2" | |
object_id = "d80bd449-448b-42d8-ae64-bc3cb7bcbeb8" | |
owners = [] | |
} | |
smccartney@UKBEL-MLSRSM:terraform-for-each-azuread $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment