Skip to content

Commit d0ad85a

Browse files
committed
Add simple, simple (extended) and complete examples
1 parent cb5fdac commit d0ad85a

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed
File renamed without changes.

examples/simple.tf

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module "aws_cognito_user_pool_simple_example" {
2+
3+
source = "../modules/terraform-aws-cognito-user-pool"
4+
5+
user_pool_name = "simple_pool"
6+
7+
# tags
8+
tags = {
9+
Owner = "infra"
10+
Environment = "production"
11+
Terraform = true
12+
}
13+
}

examples/simple/main.tf examples/simple_extended.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
module "aws_cognito_user_pool_simple_example" {
1+
module "aws_cognito_user_pool_simple_extended_example" {
22

33
source = "../modules/terraform-aws-cognito-user-pool"
44

5-
user_pool_name = "mypool_simple"
5+
user_pool_name = "simple_extended_pool"
66
alias_attributes = ["email", "phone_number"]
77
auto_verified_attributes = ["email"]
88
sms_authentication_message = "Your username is {username} and temporary password is {####}."

0 commit comments

Comments
 (0)