Add zone in GCP.#Config

Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
This commit is contained in:
Guillaume de Rouville
2021-09-14 11:38:42 +02:00
parent 8e2dea148b
commit 46362ed247
10 changed files with 53 additions and 36 deletions

View File

@@ -8,9 +8,11 @@ import (
// Base Google Cloud Config
#Config: {
// GCP region
region: string @dagger(input)
region: dagger.#Input & {*null | string}
// GCP zone
zone: dagger.#Input & {*null | string}
// GCP project
project: string @dagger(input)
project: dagger.#Input & {string}
// GCP service key
serviceKey: dagger.#Secret @dagger(input)
serviceKey: dagger.#Input & {dagger.#Secret}
}