Skip to content

Terraform Root for the Dependent Resources of the TKD Registration Page

License

Notifications You must be signed in to change notification settings

audioboxer217/terraform-kseppler-tkd-registration

Repository files navigation

TKD Registration Infrastructure Module

This repo contains a module to standup the basic infrastructure used for the gdtkd_competition_registration repository.

Terraform Details

Requirements

Name Version
aws ~> 5.0

Providers

Name Version
aws 5.82.2

Modules

No modules.

Resources

Name Type
aws_acm_certificate.main resource
aws_acm_certificate_validation.main resource
aws_cognito_user_group.admins resource
aws_cognito_user_pool.admin_users resource
aws_cognito_user_pool_client.client resource
aws_cognito_user_pool_domain.main resource
aws_dynamodb_table.auth_table resource
aws_dynamodb_table.lookup_table resource
aws_dynamodb_table.registrations_table resource
aws_route53_record.validation resource
aws_route53_zone.main resource
aws_s3_bucket.badges_bucket resource
aws_s3_bucket.config_bucket resource
aws_s3_bucket.profile-pics_bucket resource
aws_s3_bucket.public_media_bucket resource
aws_s3_bucket_versioning.badges_bucket resource
aws_s3_bucket_versioning.config_bucket resource
aws_s3_bucket_versioning.profile-pics_bucket resource
aws_s3_bucket_versioning.public_media_bucket resource
aws_s3_object.backend_json resource
aws_s3_object.frontend_json resource
aws_s3_object.schools_json resource
aws_sqs_queue.failed_registrations_queue resource
aws_sqs_queue.processing_queue resource
aws_caller_identity.current data source
aws_iam_policy_document.failed_registrations_sqs_policy data source
aws_iam_policy_document.processing_sqs_policy data source
aws_region.current data source

Inputs

Name Description Type Default Required
TFC_WORKSPACE_NAME The name of the workspace in Terraform Cloud where this is managed. string "" no
admin_email The email to use for sending admin-related items. string n/a yes
admin_user_pool_domain_name value for the admin user pool domain name string null no
admin_user_pool_name value for the admin user pool name string "TKD Reg Admins" no
auth_table_name The name to use for the 'auth' DynamoDB Table. string "admin_auth_table" no
aws_account_number The AWS Account where the resources will be created (uses 'current' data source when not provided). string "" no
aws_region The AWS region where the resources will be created (uses 'current' data source when not provided). string "" no
badges_bucket_name The name to use for bucket that will hold the Badges (Overrides badges_bucket_prefix if provided). string "" no
badges_bucket_prefix The prefix to use for bucket that will hold the Badges. string "tkd-reg-badges" no
competition_name The name of the competition. string n/a yes
competition_year The year of the competition. string n/a yes
config_bucket_name The name to use for bucket that will hold the Configs (Overrides config_bucket_prefix if provided). string "" no
config_bucket_prefix The prefix to use for bucket that will hold the Configs. string "tkd-reg-config" no
connect_account The Connect Account ID from Stipe. string "" no
contact_email The email to give to users as a contact. string n/a yes
domain_name The domain to use for this site. string n/a yes
early_reg_date The date when Early Registration closes. string n/a yes
email_send_address The email address to use to send emails from. string n/a yes
email_send_password The password for the 'email_send_address'. string n/a yes
email_send_port The port for the email server to send emails from. string "465" no
email_send_server The email server to send emails from. string n/a yes
event_city The city where the event is being held. string "" no
failed_registrations_queue_name The name to use for the 'failed' SQS Queue. string "failed_registrations" no
flask_secret_key The secret key to use for Flask. string null no
lookup_table_name The name to use for the 'lookup' DynamoDB Table. string "reg_lookup_table" no
maps_api_key The API Key for Google Maps. string n/a yes
processing_queue_name The name to use for the 'processing' SQS Queue. string "processing" no
profile_pics_bucket_name The name to use for bucket that will hold the Profile Pics (Overrides profile_pics_bucket_prefix if provided). string "" no
profile_pics_bucket_prefix The prefix to use for bucket that will hold the Profile Pics. string "tkd-reg-profile-pics" no
public_media_bucket_name The name to use for bucket that will hold the public media (Overrides public_media_bucket_prefix if provided). string "" no
public_media_bucket_prefix The prefix to use for bucket that will hold the public media. string "tkd-reg-public-media" no
reg_close_date The date when Final Registration closes. string n/a yes
registration_table_name The name to use for 'registrations' DynamoDB Table. string n/a yes
schools Listing of all school options list(string)
[
"Earlywine Park YMCA",
"Farfan's TKD",
"Geomi",
"Golden Dragon TKD - Midtown",
"Golden Dragon TKD - Owasso",
"Golden Dragon TKD - Tulsa",
"Golden Tiger Martial Arts",
"Grand Master Sean Kim's TKD",
"Iron Horse TKD Academny",
"Jeong's TKD Martial Arts",
"Jido Kwon TKD",
"Legacy Taekwondo",
"Lee's Martial Arts Taekwondo Academy",
"Master Hong's Olympic TKD",
"Master Shin's Academy",
"Master Yoo's World Champion Taekwondo",
"MHCK World Class TKD",
"Off The Chain",
"Poos TKD",
"Tiger Jung's TKD",
"White Tiger TKD",
"White Tiger TKD - Rockwall",
"Yang's Martial Arts",
"Young Moo Taekwondo"
]
no
stripe_api_key The API Key for Stripe. string n/a yes
visitor_info_text Text to use for the visitor information link. string "" no
visitor_info_url URL to use for the visitor information link. string "" no

Outputs

Name Description
badges_bucket_name The name of the Badges S3 Bucket.
certificate_arn The ARN for the ACM Cert
config_bucket_name The name of the Config S3 Bucket.
domain_name_servers The list of name servers for the domain.
domain_zone_id The Zone ID for the domain
processing_queue_url The URL for the Processing SQS Queue.
profile_pics_bucket_name The name of the Profile Pics S3 Bucket.
public_media_bucket_name The name of the Public Media S3 Bucket.

About

Terraform Root for the Dependent Resources of the TKD Registration Page

Topics

Resources

License

Stars

Watchers

Forks

Languages