-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for sovereign cloud ARN format. (#84)
* Add support for sovereign cloud ARN format. * Fixing blank line. * Fix spacing. * Fix PR Terraform init check. * Fix example TF versioning. * Remove arn format from example. * Add snowsql provider to example. * Fix snowsql provider on example.
- Loading branch information
1 parent
91354c5
commit d444afd
Showing
10 changed files
with
50 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
provider "snowsql" { | ||
alias = "storage_integration_role" | ||
|
||
account = var.snowflake_account | ||
role = var.snowflake_storage_integration_owner_role | ||
username = "example_user" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,24 @@ | ||
terraform { | ||
required_version = "~> 1.4.6" | ||
required_version = ">= 1.4.6" | ||
|
||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = "~> 4.38.0" | ||
version = "~> 5.72.0" | ||
} | ||
|
||
snowflake = { | ||
source = "Snowflake-Labs/snowflake" | ||
version = "~> 0.64.0" | ||
version = "~> 0.73.0" | ||
} | ||
|
||
snowsql = { | ||
source = "aidanmelen/snowsql" | ||
version = ">= 1.3.3" | ||
|
||
configuration_aliases = [ | ||
snowsql.storage_integration_role, | ||
] | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
module "storage_integration" { | ||
source = "Snowflake-Labs/storage-integration-aws/snowflake" | ||
source = "Snowflake-Labs/storage-integration-aws/snowflake" | ||
version = "0.2.11" | ||
|
||
# General | ||
prefix = var.prefix | ||
env = var.env | ||
|
||
# AWS | ||
arn_format = var.arn_format | ||
data_bucket_arns = var.data_bucket_arns | ||
snowflake_integration_user_roles = var.snowflake_integration_user_roles | ||
|
||
providers = { | ||
snowflake.storage_integration_role = snowflake.storage_integration_role | ||
snowsql.storage_integration_role = snowsql.storage_integration_role | ||
aws = aws | ||
} | ||
} |
This file contains 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
This file contains 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