FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
aws-lambda-developer-guide/sample-apps/java-basic/2-deploy.sh at main · awsdocs/aws-lambda-developer-guide · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
awsdocs
/
aws-lambda-developer-guide
Public
Notifications
You must be signed in to change notification settings
Fork
1.7k
Star
2.6k
Code
Issues
24
Pull requests
35
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
aws-lambda-developer-guide
/
sample-apps
/
java-basic
/
2-deploy.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
16 lines (16 loc) · 430 Bytes
Breadcrumbs
aws-lambda-developer-guide
/
sample-apps
/
java-basic
/
2-deploy.sh
Copy path
File metadata and controls
executable file
·
16 lines (16 loc) · 430 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!
/bin/bash
set
-eo pipefail
ARTIFACT_BUCKET=
$(
cat bucket-name.txt
)
TEMPLATE=template.yml
if
[
$1
]
then
if
[
$1
=
mvn ]
then
TEMPLATE=template-mvn.yml
mvn package
fi
else
gradle build -i
fi
aws cloudformation package --template-file
$TEMPLATE
--s3-bucket
$ARTIFACT_BUCKET
--output-template-file out.yml
aws cloudformation deploy --template-file out.yml --stack-name java-basic --capabilities CAPABILITY_NAMED_IAM
Back
|
FazBrowse Home
|
New Git URL