Skip to content

Commit

Permalink
fixed a missed reference
Browse files Browse the repository at this point in the history
  • Loading branch information
malscent committed Jun 18, 2024
1 parent 5e70450 commit f9cdca4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gcp/couchbase-server/couchbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ def generate_config(context):
'nameSuffix': suffix,
'network': context.properties['network'],
'serverVersion': context.properties['serverVersion'],
'serverInstanceType': context.properties['serverNodeType'],
'defaultZone': context.properties['defaultZone'],
'runtimeConfigName': '$(ref.{}.runtimeConfigName)'.format(config['name']),
'networkTag': '$(ref.{}.ruleTag)'.format(firewallRule['name']),
'bootImage': bootDiskImage,
Expand Down
5 changes: 4 additions & 1 deletion gcp/couchbase-server/resources/instance_template.py.schema
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ properties:
type: GCE_NETWORK
gceNetwork:
allowSharedVpcs: True
machineTypeProperty: serverNodeType
machineTypeProperty: serverInstanceType
subnetwork:
type: array
minItems: 1
Expand All @@ -23,6 +23,9 @@ properties:
zoneProperty: defaultZone
gceSubnetwork:
networkProperty: network
defaultZone:
type: string
default: us-central1-f
serverVersion:
type: string
default: 7.6.0
Expand Down

0 comments on commit f9cdca4

Please sign in to comment.