Create userpool and related resources.
-
create a
infra/main.tfin your project root directory. Replace theaws.profileanduserpool.hosted_zone. Alsouserpool.google_client{id,secret}# main.tf provider "aws" { region = "us-east-1" profile = "exampleAdmin" } module "userpool" { source = "github.com/bagubagu/terraform-aws-userpool" hosted_zone = "example.com" force_destroy = true google_client_id = "xxx" google_client_secret = "xxx" }
-
Init and run terraform apply from the
infradirectorycd infra terraform init terraform apply -
C'est la vie!
If hosted_zone is example_com:
- ...
- ...