ManagedKube / kubernetes-ops

Running Kubernetes in production
Apache License 2.0
297 stars 136 forks source link

AWS Amplify App Module #429

Closed sakruthijupalli closed 1 year ago

sakruthijupalli commented 1 year ago

This PR introduces a new Terraform module to provision and manage AWS Amplify apps. This module creates the necessary Amplify app configurations, branch deployments, and domain associations required for a fully functional Amplify app.

Features

Usage To use the module, add the following code block to your Terraform configuration:

module "aws_amplify" {
  source = "github.com/ManagedKube/kubernetes-ops//terraform-modules/aws/amplify?ref=add-amplify-app-module"

  name                  = "your-app-name"
  repository_url        = "https://github.com/your-org/your-repo"
  gh_access_token       = "your-github-access-token"
  branch_name           = "branch-to-deploy"
  domain_name           = "your-domain.com"
  sub_domain_prefix     = "subdomain-prefix"
  sub_domain_branch     = "subdomain-branch"
  build_spec            = "your-build-spec"
  environment_variables = {
    KEY1 = "value1"
    KEY2 = "value2"
  }
}
Screen Shot 2023-04-25 at 4 17 38 PM Screen Shot 2023-04-25 at 4 31 10 PM Screen Shot 2023-04-25 at 4 36 03 PM