Skip to content

Commit

Permalink
add gcp import secrets docs (#537)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Holm <tim.holm@nitric.io>
  • Loading branch information
davemooreuws and tjholm authored Apr 11, 2024
1 parent f0c2332 commit 9cf943e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/pages/reference/providers/gcp/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ gcp-project-id: my-gcp-project-id
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
schedule-timezone: Australia/Sydney # Available since v0.27.0

# Import existing GCP Resources
# Currently only secrets are supported
# Available since v1.4.0
import:
# A map of nitric names to GCP Secret Manager names
secrets: # Available since v1.4.0
# NOTE: Imported secrets must exist in the same project as specified by gcp-project-id
# In typescript this would import the provided secret reference for a secret declared as
# const mySecret = secret('my-secret');
my-secret: existing-secret

# Configure your deployed services
config:
# How services without a type will be deployed
Expand Down

0 comments on commit 9cf943e

Please sign in to comment.