Instead of parsing file names and basing the commands on those, store the commands in files, so that you can edit files to change which commands are run. This makes the file names for the golden files match the command being run, other than replacing / with _. To add commands for golden files, edit the files in the spec/routes/api/cli/golden-file-commands folder.
19 lines
493 B
Plaintext
19 lines
493 B
Plaintext
id: pgvm1qb9gwct1mqmay7m54yma5
|
|
name: test-pg
|
|
state: creating
|
|
location: eu-central-h1
|
|
vm_size: standard-2
|
|
storage_size_gib: 64
|
|
version: 16
|
|
ha_type: none
|
|
flavor: standard
|
|
connection_string: postgres://postgres:bar456FOO123@test-pg.pgvm1qb9gwct1mqmay7m54yma5.pg.example.com?channel_binding=require
|
|
primary: true
|
|
earliest_restore_time:
|
|
firewall rules:
|
|
1: pfb9g14e5ndt6qf59wfk8109bg 0.0.0.0/0
|
|
metric destinations:
|
|
1: et2t1bswsqz21m7j7njfjbp901 foo https://baz.example.com
|
|
CA certificates:
|
|
|