{ "provider": { "name": "binarylane" }, "resources": [ { "name": "server", "schema": { "attributes": [ { "name": "backups", "bool": { "computed_optional_required": "computed_optional", "description": "If true this will enable two daily backups for the server. Options.daily_backups will override this value if provided. Setting this to false has no effect.\n" } }, { "name": "image", "string": { "computed_optional_required": "required", "description": "The slug of the selected operating system." } }, { "name": "name", "string": { "computed_optional_required": "computed_optional", "description": "The hostname of your server, such as vps01.yourcompany.com. If not provided, the server will be created with a random name." } }, { "name": "password", "string": { "computed_optional_required": "computed_optional", "description": "If this is provided the specified or default remote user's account password will be set to this value. Only valid if the server supports password change actions (check server.password_change_supported via the servers endpoint). If omitted and the server supports password change actions a random password will be generated and emailed to the account email address.\n" } }, { "name": "region", "string": { "computed_optional_required": "required", "description": "The slug of the selected region.", "validators": [ { "custom": { "imports": [ { "path": "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" } ], "schema_definition": "stringvalidator.LengthAtLeast(1)" } } ] } }, { "name": "size", "string": { "computed_optional_required": "required", "description": "The slug of the selected size.", "validators": [ { "custom": { "imports": [ { "path": "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" } ], "schema_definition": "stringvalidator.LengthAtLeast(1)" } } ] } }, { "name": "id", "int64": { "computed_optional_required": "computed_optional", "description": "The ID of the server to fetch." } } ] } }, { "name": "ssh_key", "schema": { "attributes": [ { "name": "default", "bool": { "computed_optional_required": "computed_optional", "description": "Optional: If true this will be added to all new server installations (if we support SSH Key injection for the server's operating system)." } }, { "name": "name", "string": { "computed_optional_required": "required", "description": "A name to help you identify the key.", "validators": [ { "custom": { "imports": [ { "path": "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" } ], "schema_definition": "stringvalidator.LengthAtLeast(1)" } } ] } }, { "name": "public_key", "string": { "computed_optional_required": "required", "description": "The public key in OpenSSH \"authorized_keys\" format.", "validators": [ { "custom": { "imports": [ { "path": "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" } ], "schema_definition": "stringvalidator.LengthAtLeast(1)" } } ] } }, { "name": "id", "int64": { "computed_optional_required": "computed_optional", "description": "The ID or fingerprint of the SSH Key to fetch." } } ] } } ], "version": "0.1" }