From 2dd34b4f34795f2f23b13f56495a4b2e14064734 Mon Sep 17 00:00:00 2001 From: John Buchanan Date: Tue, 8 Mar 2022 19:14:44 -0500 Subject: [PATCH] prod:build:basechat --- amplify/.config/project-config.json | 17 ++++++++ amplify/README.md | 8 ++++ amplify/backend/backend-config.json | 9 +++++ .../amplifyhosting-template.json | 39 +++++++++++++++++++ amplify/backend/tags.json | 10 +++++ amplify/cli.json | 36 +++++++++++++++++ amplify/team-provider-info.json | 23 +++++++++++ 7 files changed, 142 insertions(+) create mode 100644 amplify/.config/project-config.json create mode 100644 amplify/README.md create mode 100644 amplify/backend/backend-config.json create mode 100644 amplify/backend/hosting/amplifyhosting/amplifyhosting-template.json create mode 100644 amplify/backend/tags.json create mode 100644 amplify/cli.json create mode 100644 amplify/team-provider-info.json diff --git a/amplify/.config/project-config.json b/amplify/.config/project-config.json new file mode 100644 index 0000000..91ae885 --- /dev/null +++ b/amplify/.config/project-config.json @@ -0,0 +1,17 @@ +{ + "projectName": "basechat", + "version": "3.1", + "frontend": "javascript", + "javascript": { + "framework": "angular", + "config": { + "SourceDir": "src", + "DistributionDir": "www", + "BuildCommand": "npm.cmd run-script build", + "StartCommand": "ng serve" + } + }, + "providers": [ + "awscloudformation" + ] +} \ No newline at end of file diff --git a/amplify/README.md b/amplify/README.md new file mode 100644 index 0000000..7c0a9e2 --- /dev/null +++ b/amplify/README.md @@ -0,0 +1,8 @@ +# Getting Started with Amplify CLI +This directory was generated by [Amplify CLI](https://docs.amplify.aws/cli). + +Helpful resources: +- Amplify documentation: https://docs.amplify.aws +- Amplify CLI documentation: https://docs.amplify.aws/cli +- More details on this folder & generated files: https://docs.amplify.aws/cli/reference/files +- Join Amplify's community: https://amplify.aws/community/ diff --git a/amplify/backend/backend-config.json b/amplify/backend/backend-config.json new file mode 100644 index 0000000..bc75508 --- /dev/null +++ b/amplify/backend/backend-config.json @@ -0,0 +1,9 @@ +{ + "hosting": { + "amplifyhosting": { + "service": "amplifyhosting", + "providerPlugin": "awscloudformation", + "type": "manual" + } + } +} \ No newline at end of file diff --git a/amplify/backend/hosting/amplifyhosting/amplifyhosting-template.json b/amplify/backend/hosting/amplifyhosting/amplifyhosting-template.json new file mode 100644 index 0000000..27f1afd --- /dev/null +++ b/amplify/backend/hosting/amplifyhosting/amplifyhosting-template.json @@ -0,0 +1,39 @@ +{ + "AWSTemplateFormatVersion": "2010-09-09", + "Description": "Branch stack creation for AWS Amplify Console", + "Parameters": { + "env": { + "Type": "String" + }, + "appId": { + "Type": "String" + }, + "type": { + "Type": "String" + } + }, + "Conditions": { + "isManual": { + "Fn::Equals": [ + { + "Ref": "type" + }, + "manual" + ] + } + }, + "Resources": { + "AmplifyBranch": { + "Condition": "isManual", + "Type": "AWS::Amplify::Branch", + "Properties": { + "BranchName": { + "Ref": "env" + }, + "AppId": { + "Ref": "appId" + } + } + } + } +} \ No newline at end of file diff --git a/amplify/backend/tags.json b/amplify/backend/tags.json new file mode 100644 index 0000000..b9321d7 --- /dev/null +++ b/amplify/backend/tags.json @@ -0,0 +1,10 @@ +[ + { + "Key": "user:Stack", + "Value": "{project-env}" + }, + { + "Key": "user:Application", + "Value": "{project-name}" + } +] \ No newline at end of file diff --git a/amplify/cli.json b/amplify/cli.json new file mode 100644 index 0000000..6841621 --- /dev/null +++ b/amplify/cli.json @@ -0,0 +1,36 @@ +{ + "features": { + "graphqltransformer": { + "addmissingownerfields": true, + "improvepluralization": true, + "validatetypenamereservedwords": true, + "useexperimentalpipelinedtransformer": false, + "enableiterativegsiupdates": true, + "secondarykeyasgsi": true, + "skipoverridemutationinputtypes": true + }, + "frontend-ios": { + "enablexcodeintegration": true + }, + "auth": { + "enablecaseinsensitivity": true, + "useinclusiveterminology": true, + "breakcirculardependency": true + }, + "codegen": { + "useappsyncmodelgenplugin": true, + "usedocsgeneratorplugin": true, + "usetypesgeneratorplugin": true, + "cleangeneratedmodelsdirectory": true, + "retaincasestyle": true, + "addtimestampfields": true, + "handlelistnullabilitytransparently": true, + "emitauthprovider": true, + "generateindexrules": true, + "enabledartnullsafety": true + }, + "appsync": { + "generategraphqlpermissions": true + } + } +} \ No newline at end of file diff --git a/amplify/team-provider-info.json b/amplify/team-provider-info.json new file mode 100644 index 0000000..6dc3594 --- /dev/null +++ b/amplify/team-provider-info.json @@ -0,0 +1,23 @@ +{ + "dev": { + "awscloudformation": { + "AuthRoleName": "amplify-basechat-dev-190838-authRole", + "UnauthRoleArn": "arn:aws:iam::320034626965:role/amplify-basechat-dev-190838-unauthRole", + "AuthRoleArn": "arn:aws:iam::320034626965:role/amplify-basechat-dev-190838-authRole", + "Region": "us-east-1", + "DeploymentBucketName": "amplify-basechat-dev-190838-deployment", + "UnauthRoleName": "amplify-basechat-dev-190838-unauthRole", + "StackName": "amplify-basechat-dev-190838", + "StackId": "arn:aws:cloudformation:us-east-1:320034626965:stack/amplify-basechat-dev-190838/14abfd40-9f3d-11ec-a799-0ec1afcbebaf", + "AmplifyAppId": "d3kptqhwzvhi4z" + }, + "categories": { + "hosting": { + "amplifyhosting": { + "appId": "d3kptqhwzvhi4z", + "type": "manual" + } + } + } + } +} \ No newline at end of file