facebook-gcal-sync

amancevice/facebook-gcal-sync/aws

Terraform Module HCL AWS

Synchronize facebook page events with Google Calendar

Install
module "facebook-gcal-sync" {
source = "amancevice/facebook-gcal-sync/aws"
version = "3.7.3"
}
plain text: /constructs/tfmod-amancevice-facebook-gcal-sync-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Facebook to Google Calendar Sync ![terraform](https://registry.terraform.io/modules/amancevice/facebook-gcal-sync/aws) ![build](https://github.com/amancevice/terraform-aws-facebook-gcal-sync/actions/workflows/validate.yml) ![ko-fi](https://ko-fi.com/smallweirdnumber) Synchronize facebook page events with Google Calendar. Prerequisites Before beginning you will need to create and configure a facebook app and use it to acquire a page access token for Graph API. You will also need to set up a Google service account to acquire a credentials file to authenticate with Google APIs. It is expected that you use the facebook access token and Google service account credenetials to create AWS SecretsManager secrets using the facebook-gcal-sync-secrets module described below. Usage You may create both

Inputs (24)
NameTypeDescriptionDefault
google_calendar_idstringGoogle Calendar ID required
google_secret_namestringGoogle service account SecretsManager secret name required
facebook_secret_namestringfacebook SecretsManager secret name required
facebook_page_idstringfacebook Page ID required
kms_key_tagsmap(string)KMS Key resource tags{}
lambda_descriptionstringLambda function description"Synchronize facebook page events with G
lambda_timeoutnumberLambda function timeout in seconds30
kms_key_aliasstringKMS Key alias"facebook-gcal-sync"
kms_key_is_enabledboolKMS Key enabled flagtrue
lambda_function_namestringLambda function name"facebook-gcal-sync"
log_group_retention_in_daysnumberCloudWatch Log Group retention period in days30
google_secret_tagsmap(string)Google service account SecretsManager secret tags{}
event_rule_is_enabledboolFlag to enable/disable CloudWatch event ruletrue
event_rule_schedule_expressionstringCloudWatch event rule schedule expression"rate(1 hour)"
event_target_inputmap(string)CloudWatch event target input JSON{}
google_secret_descriptionstringGoogle SecretsManager secret description"Google service account credentials"
kms_key_descriptionstringKMS Key description"Slackbot key"
facebook_secret_descriptionstringfacebook SecretsManager Secret description"facebook app token"
kms_key_usagestringKMS Key usage"ENCRYPT_DECRYPT"
lambda_runtimestringLambda function runtime"python3.13"
kms_key_deletion_window_in_daysnumberKMS Key deletion window30
kms_key_enable_key_rotationboolKMS Key rotation flagfalse
facebook_secret_tagsmap(string)facebook SecretsManager Secret resource tags{}
kms_key_policy_documentstringKMS Key policy JSON documentnull
Outputs (5)
google_secret — Google service account SecretsManager secret
iam_role — Lambda IAM role
lambda_function — Lambda function
event_rule — CloudWatch Event Rule
facebook_secret — facebook SecretsManager secret
Resources (10)
aws_cloudwatch_event_ruleaws_cloudwatch_event_targetaws_cloudwatch_log_groupaws_iam_roleaws_iam_role_policyaws_kms_aliasaws_kms_keyaws_lambda_functionaws_lambda_permissionaws_secretsmanager_secret
Details
FrameworkTerraform Module
LanguageHCL
Version3.7.3
Cloud AWS
★ Stars0
Forks1
Total downloads6.6k
Inputs24
Outputs5
Resources10
LicenseMIT
Namespaceamancevice
Updated