Skip to content

Instantly share code, notes, and snippets.

View 0mmadawn's full-sized avatar

YutaHirose 0mmadawn

  • CELESTIAL BEING
  • space
View GitHub Profile
@0mmadawn
0mmadawn / cognito_mfa_sample.tf
Created July 28, 2021 07:24
sample terraform file for creating AWS Cognito (MFA)
variable "aws" {
  default = {
    sms_role_ext_id = "cognito-test-sms-role-external-id"
  }
}
# IAM role for cognito sms
resource "aws_iam_role" "cognito_test_sms" {
    name = "CognitoTest_SMS"
    description           = "role for applicant cognito, send sms"