Skip to content
Merged
Changes from 3 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
11 changes: 11 additions & 0 deletions modules/instance_template/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,12 @@ spec:
version: ">= 0.4.0"
spec:
outputExpr: "{\"IP_ADDRESS_HTTP\": ip_address_http, \"IP_ADDRESS_HTTPS\": ip_address_https}"
- source:
source: https://github.com/GoogleCloudPlatform/terraform-google-alloy-db
version: ">= 5.0.1"
spec:
outputExpr: "{\"ALLOYDB_INSTANCE_HOST\" : primary_instance_ip}"
inputPath: env_vars
- name: service_account
description: Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account.
varType: |-
Expand Down Expand Up @@ -385,6 +391,11 @@ spec:
version: ">= 0.1.0"
spec:
outputExpr: "[\"roles/datastore.user\"]"
- source:
source: https://github.com/GoogleCloudPlatform/terraform-google-alloy-db
version: ">= 5.0.1"
spec:
outputExpr: "[\"roles/alloydb.admin\"]"
- name: enable_shielded_vm
description: Whether to enable the Shielded VM configuration on the instance. Note that the instance image must support Shielded VMs. See https://cloud.google.com/compute/docs/images
varType: bool
Expand Down