Is it possible to create an AWS Amplify project containing auth and storage resources using Terraform?
The goal is to link an Android client project with Amplify resources created using a Terraform template.
For example: I want to amplify pull
from my Android Studio terminal to link the project to AWS (where the Amplify project has already been created by Terraform) and generate the configuration files.
AWS Amplify consists of a set of tools (open source framework, visual development environment, console) and services (web app and static website hosting) to accelerate the development of mobile and web applications on AWS.
To manually deploy an app from Amazon S3 or a public URL Sign in to the AWS Management Console and open the Amplify console . At the top of the page, choose Get started. In the Deliver section, choose Get started. On the Host your web app page, choose Deploy without Git provider.
It might have not been the case when the question was asked, but now a aws_amplify_app
is available as a resource type in the standard AWS provider for Terraform.
You can use:
resource "aws_amplify_app" "example" {
name = "example"
repository = "https://github.com/example/app"
}
For details consult the docs for aws_amplify_app
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With