File tree Expand file tree Collapse file tree 5 files changed +5680
-2717
lines changed
Expand file tree Collapse file tree 5 files changed +5680
-2717
lines changed Original file line number Diff line number Diff line change 1- . / sslcert / *
1+ sslcert
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ install: ## Install dependencies
1111 @which serverless || npm install -g serverless
1212 @which localstack || pip install localstack
1313 @which awslocal || pip install awscli-local
14-
14+
1515cert : # # Create test SSL certificate
1616 mkdir -p sslcert
1717 cd sslcert; \
@@ -25,7 +25,7 @@ run: ## Deploy the app locally and run an API GW test invocation
2525 echo " Generating and importing test SSL certificate to ACM for Route53 domain test.example.com" ; \
2626 make cert; \
2727 echo " Importing local test certificate into ACM API ..." ; \
28- awslocal acm import-certificate --certificate file ://sslcert/server.crt --private-key file ://sslcert/ssl.key && \
28+ awslocal acm import-certificate --certificate fileb ://sslcert/server.crt --private-key fileb ://sslcert/ssl.key && \
2929 echo " Creating Route53 hosted zone for test domain 'test.example.com' ..." ; \
3030 awslocal route53 create-hosted-zone --name test.example.com --caller-reference r1 && \
3131 echo " Deploying Serverless app to local environment" ; \
You can’t perform that action at this time.
0 commit comments