examples: added outputs/inputs annotations

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba
2021-06-01 16:00:01 +02:00
parent 2bd4679646
commit 56e60c5b29
7 changed files with 49 additions and 37 deletions

View File

@@ -6,14 +6,14 @@ import (
// AWS account: credentials and region
awsConfig: aws.#Config & {
region: *"us-east-1" | string
region: *"us-east-1" | string @dagger(input)
}
// URL of the website to monitor
website: string | *"https://www.google.com"
website: string | *"https://www.google.com" @dagger(input)
// Email address to notify of monitoring alerts
email: string
email: string @dagger(input)
// The monitoring service running on AWS Cloudwatch
monitor: #HTTPMonitor & {