From a372994ada3a83110549ec82ae2172f546d3a190 Mon Sep 17 00:00:00 2001 From: Tori Hara Date: Tue, 15 Jun 2021 13:41:10 +0900 Subject: [PATCH] Add example AWS CLI command in README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index bd61b6f..6feccf7 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,14 @@ aws apprunner create-service --service-name ${SERVICE_NAME} \ --source-configuration file://hello-app-runner.json ``` +If you want to deploy and manage this container using AWS CloudFormation just run + +```bash +SERVICE_NAME=hello-app-runner + +aws cloudformation create-stack --template-body file://cf.yaml --stack-name ${SERVICE_NAME} --parameters "ParameterKey=ServiceName,ParameterValue=${SERVICE_NAME}" +``` + ## Features The service exposes a basic splash page with links to relevant App Runner content.