SYSTEM$VERIFY_EXTERNAL_VOLUME
functionsupportedIceberg & external tablesVerifies the configuration for a specified external volume. For external volumes with write access, Snowflake attempts the following additional operations to verify the configuration: - Write a test file. - Read the test file. - List the files in the storage location. - Delete the test file.
Syntax
SYSTEM$VERIFY_EXTERNAL_VOLUME('<external_volume_name>')
Parameters
| Name | Required | Description |
|---|---|---|
external_volume_name | required | Name of the external volume to verify. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case sensitive. |
Returns
The function returns a JSON object with the properties described below: Return properties that indicate a result can have the following values:
Usage notes
- For Amazon S3 external volumes: If you receive the following error, your account administrator must activate AWS STS in the Snowflake deployment region. For instructions, see Manage AWS STS in an AWS Region in the AWS documentation. Error assuming AWS_ROLE: STS is not activated in this region for account:<external volume id>. Your account administrator can activate STS in this region using the IAM Console.
Access control requirements
A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes OWNERSHIP | External volume | For instructions on creating a custom role with a specified set of privileges, see Creating custom roles. For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.