Skip to content

Commit

Permalink
Added hosting for manual deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
fbdo committed Aug 4, 2021
1 parent 9cd9dac commit 2ad362b
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
8 changes: 7 additions & 1 deletion web/amplify/backend/backend-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@
}
}
},
"hosting": {},
"hosting": {
"amplifyhosting": {
"service": "amplifyhosting",
"providerPlugin": "awscloudformation",
"type": "manual"
}
},
"function": {
"pettracking426fb16cPostConfirmation": {
"build": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
}

0 comments on commit 2ad362b

Please sign in to comment.