You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently MachineTag values are assumed to be strings.
This is not the case for the tag "triton_cns_disable" tag, despite the documentation saying it accepts any string, CloudAPI only accepts booleans for that field.
This is called from triton since I can't quite get gosdc to work without using hashicorp/terraform
Setting it to an arbitrary string.
$ triton inst tag set smartos triton.cns.disable="blah"
triton inst: error (ValidationFailed): error adding tags: Invalid tag parameters
tags: Invalid: "triton.cns.disable" must be a boolean
Setting it using the string "true" (something is converting it to bool before continuing)
$ triton inst tag set smartos triton.cns.disable="true"
{
"triton.cns.disable": true
}
Setting it using "bool" false
$ triton inst tag set pgxl-smartos triton.cns.disable=false
{
"triton.cns.disable": false
}
The text was updated successfully, but these errors were encountered:
Joyent CloudAPI will actually return tags in any of String | Number | Boolean format (I think they are correcting the documentation for this as I type), which means the gosdc tags will need to be changed to use a map of String to Interface (and the underlying interface value must be one of string, bool or int64).
Currently MachineTag values are assumed to be strings.
This is not the case for the tag "triton_cns_disable" tag, despite the documentation saying it accepts any string, CloudAPI only accepts booleans for that field.
This is called from triton since I can't quite get gosdc to work without using hashicorp/terraform
Setting it to an arbitrary string.
Setting it using the string "true" (something is converting it to bool before continuing)
Setting it using "bool" false
The text was updated successfully, but these errors were encountered: