This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "snowflake_unsafe_execute" "volume" { | |
execute = <<EOT | |
CREATE OR REPLACE EXTERNAL VOLUME ${var.external_volume_name} | |
STORAGE_LOCATIONS = | |
( | |
( | |
NAME = '${var.external_volume_bucket_name}' | |
STORAGE_PROVIDER = 'S3' | |
STORAGE_BASE_URL = 's3://${var.external_volume_bucket_name}' | |
STORAGE_AWS_ROLE_ARN = '${var.snowflake_iam_role_arn}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform_version := "1.6.6" | |
current_env := "dev" | |
var_file_name := "./configuration." + current_env + ".tfvars" | |
backend_file_name := "backend." + current_env + ".tfvars" | |
terraform_loglevel := "ERROR" | |
terraform_code_folder := "terraform" | |
# runs terraform init & fmt & validate & tflint (add -reconfigure or -upgrade as params) | |
tf-check *params: |
OlderNewer