Created
December 11, 2019 16:46
-
-
Save alexkappa/5dc5e1450c544a8f1ad51a4de94258ac to your computer and use it in GitHub Desktop.
terraform-provider-auth0 issue #119
This file contains 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
resource "auth0_user" "user" { | |
connection_name = "Username-Password-Authentication" | |
username = "rsatesting" | |
nickname = "rsatesting" | |
email = "rob+testing@gmail.com" | |
email_verified = true | |
password = "IAmAp455w0rd" | |
app_metadata = "{\"groups\": [\"project:platform-admin\", \"foo:bar\"]}" | |
} |
This file contains 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
$ terraform apply -auto-approve [17:40:56] | |
auth0_user.user: Creating... | |
auth0_user.user: Creation complete after 0s [id=auth0|5df11c1b0fdcfe0ebd1dc0bf] | |
Apply complete! Resources: 1 added, 0 changed, 0 destroyed. |
This file contains 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
$ terraform state show auth0_user.user [17:40:59] | |
# auth0_user.user: | |
resource "auth0_user" "user" { | |
app_metadata = jsonencode( | |
{ | |
groups = [ | |
"project:platform-admin", | |
"foo:bar", | |
] | |
} | |
) | |
connection_name = "Username-Password-Authentication" | |
email = "rob+testing@gmail.com" | |
email_verified = true | |
id = "auth0|5df11c1b0fdcfe0ebd1dc0bf" | |
nickname = "rsatesting" | |
password = (sensitive value) | |
username = "rsatesting" | |
} |
This file contains 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
resource "auth0_user" "user" { | |
connection_name = "Username-Password-Authentication" | |
username = "rsatesting" | |
nickname = "rsatesting" | |
email = "rob+testing@gmail.com" | |
email_verified = true | |
password = "IAmAp455w0rd" | |
app_metadata = "{\"groups\": [\"project:platform-admin\"]}" | |
} |
This file contains 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
$ terraform state show auth0_user.user [17:41:58] | |
# auth0_user.user: | |
resource "auth0_user" "user" { | |
app_metadata = jsonencode( | |
{ | |
groups = [ | |
"project:platform-admin", | |
] | |
} | |
) | |
connection_name = "Username-Password-Authentication" | |
email = "rob+testing@gmail.com" | |
email_verified = true | |
id = "auth0|5df11c1b0fdcfe0ebd1dc0bf" | |
nickname = "rsatesting" | |
password = (sensitive value) | |
phone_verified = false | |
user_id = "auth0|5df11c1b0fdcfe0ebd1dc0bf" | |
username = "rsatesting" | |
verify_email = false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment