Giter VIP home page Giter VIP logo

cruxstack / terraform-aws-cognito-userpool-clients Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 17 KB

Terraform Module to provision Cognito userpool clients

Home Page: https://registry.terraform.io/modules/cruxstack/cognito-userpool-clients/aws/latest

License: MIT License

Dockerfile 3.44% HCL 96.56%
aws cloudposse cognito cognito-idp cognito-user-pool oauth oauth2 terraform terraform-module sweetops

terraform-aws-cognito-userpool-clients's Introduction

Terraform Module: AWS Cognito Userpool Clients

This module creates and manages AWS Cognito User Pool Clients, allowing fine-grained control over client configurations, UI customization, and secrets management.

Usage

module "cognito_userpool_clients" {
  source  = "cruxstack/cognito-userpool-clients/aws"
  version = "x.x.x"

  userpool_id = "<cognito-userpool-id>"

  client_defaults = {
    callback_urls = ["https://example.com/auth/"]
  }

  clients = {
    internal_web_app = {}
    public_web_app   = {}
    mobile_app       = {}
    foobar_service   = {}
  }
}

Inputs

This module uses the cloudposse/label/null module for naming and tagging resources. As such, it also includes a context.tf file with additional optional variables you can set. Refer to the cloudposse/label documentation for more details on these variables.

Name Description Type Default Required
userpool_id Cognito user pool ID. string null No
client_defaults Default configurations for each client. object({...}) {} No
clients Map of client-specific configurations. The key is the client name. map(object({...})) {} No
secrets_enabled Toggle to create SecretsManager secrets for each client. bool true No
aws_kv_namespace The namespace or prefix for AWS SSM parameters and similar resources. string "" No

Outputs

Name Description
clients Map of Cognito user pool clients created by the module.
client_secret_names Map of the names of Secrets Manager secrets for the Cognito user pool clients, keyed by client name.

Contributing

We welcome contributions to this project. For information on setting up a development environment and how to make a contribution, see CONTRIBUTING documentation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.