Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ inputs:
type: string
description: The GCP region to deploy the application in, such as europe-west1.

zone:
type: string
description: The zone in the GCP region.

network_name:
type: string
description: The name of your GCP Virtual Network.
Expand Down Expand Up @@ -46,7 +50,7 @@ dsl_definitions:
private_key_id: { get_secret: gcp_private_key_id }
private_key: { get_secret: gcp_private_key }
project: { get_secret: gcp_project_id }
zone: { get_secret: gcp_zone }
zone: { get_input: zone }

node_templates:

Expand All @@ -58,7 +62,7 @@ node_templates:
install_method: none
image_id: { get_input: image }
instance_type: { get_input: instance_type }
zone: { get_secret: gcp_zone }
zone: { get_input: zone }
external_ip: true
startup_script:
type: string
Expand All @@ -73,7 +77,7 @@ node_templates:
gcp_config: *gcp_config
allowed:
tcp:
- 80
- !!int 80
sources:
- 0.0.0.0/0
relationships:
Expand Down