Creates an AWS Amplify web app or hosting environment for a static website
APACHE-2.0 License
AWS Amplify is a development platform for building secure, scalable mobile and web applications. It offers a broad range of services and features, including authentication, analytics, API (GraphQL and REST), interactions, and more. Amplify simplifies the setup of new applications with a CLI interface, and it integrates with your version control system to enable continuous deployment. The service provides a unified model to manage backend and frontend development workflows, and it helps to seamlessly integrate with other AWS services.
The terraform-aws-amplify module simplifies the deployment process of a web site by automatically deploying it from an existing S3 bucket to a new AWS Amplify service that it sets up for you.
The minimum supported Terraform version is: 1.3.0.
examples: this folder contains ready to use examples that show how to use this Module;
tests: this folder contains a list of automated tests for this Module and examples;
lib: this folder contains a list of local utilities, mostly Makefiles, to support the contributor's maintenance effort of this Module;
modules: this folder contains a list of local Terraform modules that the Root Module uses;
.github: this folder contains a list of GitHub workflows to support contributions during change requests and releases of this Module.
Documentation about the AWS Amplify service can be found here.
Refer to this page for details in regard to contribution instructions.
Name | Version |
---|---|
terraform | >= 1.3 |
aws | >= 5.20 |
Name | Version |
---|---|
aws | >= 5.20 |
Name | Type |
---|---|
aws_amplify_app.site | resource |
aws_amplify_branch.site | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_s3_bucket_store | The AWS S3 details where the ZIP bundle that needs to be deployed is stored | object({ bucket_name = string bucket_path = string zip_file_name = string region = string }) | n/a | yes |
deployment_name | The name of the default deployment name for the targeted website | string |
"main" |
no |
name | The name of the web site | string |
n/a | yes |
password | The password of the user | string |
"" |
no |
tags | A map of tags to assign to the resources | map(string) |
{} |
no |
username | The username of the user | string |
"" |
no |
Name | Description |
---|---|
amplify_site | The Amplify site configuration details |
lambda_config | The Lambda function configuration details |