aws-containers / hello-app-runner Goto Github PK
View Code? Open in Web Editor NEWExample application for AWS App Runner
License: MIT No Attribution
Example application for AWS App Runner
License: MIT No Attribution
Tried with V2 of the CLI and it seems to not know about apprunner
:
# aws --version
aws-cli/2.2.5
# aws apprunner create-service --cli-input-yaml file://hello-app-runner.yaml
aws: error: argument command: Invalid choice, valid choices are:
So reverted to V1
# aws --version
aws-cli/1.19.75
Running the sample command yields:
# aws apprunner create-service --cli-input-yaml file://hello-app-runner.yaml
aws: error: argument --service-name is required
Looking at the help:
# aws apprunner create-service help
SYNOPSIS
create-service
--service-name <value>
--source-configuration <value>
[--instance-configuration <value>]
[--tags <value>]
[--encryption-configuration <value>]
[--health-check-configuration <value>]
[--auto-scaling-configuration-arn <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
Suggests two flags are required and --cli-input-yaml
isn't detailed.
Generated the json equivalent:
# aws apprunner create-service --generate-cli-skeleton > hello-app-runner.json
And populated the detail from the yaml:
{
"ServiceName": "hello-app-runner",
"SourceConfiguration": {
"ImageRepository": {
"ImageIdentifier": "public.ecr.aws/aws-containers/hello-app-runner:latest",
"ImageConfiguration": {
"Port": "8000"
},
"ImageRepositoryType": "ECR_PUBLIC"
},
"AutoDeploymentsEnabled": false
}
}
Then ran:
# aws apprunner create-service --service-name hello-app-runner --cli-input-json file://hello-app-runner.json
This resulted in a create service operation commencing. A short while later:
Hi
I've selected the option to have App Runner create a role for accessing private ECR but then the error is raised. Any advice?
I get the option for setting env var when using ECR image but not when deploying from Github - please advise
Hi, I encountered some issues and need some help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.