Terraform module for adding new accounts to enterprise support
PythonApache-2.0
terraform-aws-org-new-account-support-case
A Terraform module to enable Enterprise support on a new account.
This module uses CloudWatch Events to identify when new accounts are
added or invited to an AWS Organization, and triggers a Lambda function
to create the new account.
Testing
To set up and run tests:
# Ensure the dependencies are installed on your system.
make python/deps
make pytest/deps
# Start up a mock AWS stack:
make mockstack/up
# Run unit tests:
make docker/run target=pytest/lambda/tests
# Run the tests:
make mockstack/pytest/lambda
# Shut down the mock AWS stack and clean up docker images:
make mockstack/clean
Text for body of the communication sent to support. The variable 'account_id' can be used within the text if preceded by a dollar sign and optionally enclosed by curly braces.
Text for 'Subject' field of the communication sent to support. The variable 'account_id' can be used within the text if preceded by a dollar sign and optionally enclosed by curly braces.