Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ConnectionBlockSupersetSchema = &configschema.Block{ Attributes: map[string]*configschema.Attribute{ "host": { Type: cty.String, Required: true, }, "type": { Type: cty.String, Optional: true, }, "user": { Type: cty.String, Optional: true, }, "password": { Type: cty.String, Optional: true, }, "port": { Type: cty.Number, Optional: true, }, "timeout": { Type: cty.String, Optional: true, }, "script_path": { Type: cty.String, Optional: true, }, "target_platform": { Type: cty.String, Optional: true, }, "private_key": { Type: cty.String, Optional: true, }, "certificate": { Type: cty.String, Optional: true, }, "host_key": { Type: cty.String, Optional: true, }, "agent": { Type: cty.Bool, Optional: true, }, "agent_identity": { Type: cty.String, Optional: true, }, "proxy_scheme": { Type: cty.String, Optional: true, }, "proxy_host": { Type: cty.String, Optional: true, }, "proxy_port": { Type: cty.Number, Optional: true, }, "proxy_user_name": { Type: cty.String, Optional: true, }, "proxy_user_password": { Type: cty.String, Optional: true, }, "bastion_host": { Type: cty.String, Optional: true, }, "bastion_host_key": { Type: cty.String, Optional: true, }, "bastion_port": { Type: cty.Number, Optional: true, }, "bastion_user": { Type: cty.String, Optional: true, }, "bastion_password": { Type: cty.String, Optional: true, }, "bastion_private_key": { Type: cty.String, Optional: true, }, "bastion_certificate": { Type: cty.String, Optional: true, }, "https": { Type: cty.Bool, Optional: true, }, "insecure": { Type: cty.Bool, Optional: true, }, "cacert": { Type: cty.String, Optional: true, }, "use_ntlm": { Type: cty.Bool, Optional: true, }, }, Ephemeral: true, }
ConnectionBlockSupersetSchema is a schema representing the superset of all possible arguments for "connection" blocks across all supported connection types.
This currently lives here because we've not yet updated our communicator subsystem to be aware of schema itself. Once that is done, we can remove this and use a type-specific schema from the communicator to validate exactly what is expected for a given connection type.
Functions ¶
Types ¶
This section is empty.