Before writing a CREATE IMAGE REPOSITORY statement:
- Read
references/parameters.mdto review all available parameters and their defaults. - For each parameter, decide whether the user's request implies a non-default value.
- Include only the parameters that differ from the default or that the user explicitly requested — do not bloat the DDL with unnecessary clauses.
- Never use
CREATE OR REPLACE— always useCREATE IMAGE REPOSITORY IF NOT EXISTS. - The ENCRYPTION parameter cannot be changed after creation — confirm the correct encryption type with the user if it matters for their security posture (e.g., Tri-Secret Secure requires SNOWFLAKE_FULL).
- Repository identifiers do not support quoted names; ensure the name uses only alphanumeric characters and underscores.