Skip to content

Commit

Permalink
test9
Browse files Browse the repository at this point in the history
  • Loading branch information
e-espootin committed Nov 5, 2024
1 parent 66a6009 commit 2281471
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module "terraform" {
source = "./terraform"
# todo : how to pass the variables to the module
# AWS_ACCESS_KEY_ID = ${{secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY = ${{secrets.AWS_SECRET_ACCESS_KEY }}
}
3 changes: 2 additions & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ resource "snowflake_grant_account_role" "grants" {
user_name = snowflake_user.user.name
}


/*
resource "snowflake_stage" "my_stage" {
name = "my_s3_stage_2"
database = var.database
Expand All @@ -105,3 +105,4 @@ resource "snowflake_stage" "my_stage" {
credentials = "AWS_KEY_ID='${var.AWS_ACCESS_KEY_ID}' AWS_SECRET_KEY='${var.AWS_SECRET_ACCESS_KEY}'"
}
*/
11 changes: 6 additions & 5 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,18 @@ variable "service_dbt_user" {


#####

/*
variable "AWS_ACCESS_KEY_ID" {
description = "AWS_ACCESS_KEY_ID"
type = string
# sensitive = true
default = "${{secrets.AWS_ACCESS_KEY_ID }}"
sensitive = true
#default = "${{secrets.AWS_ACCESS_KEY_ID }}"
}
variable "AWS_SECRET_ACCESS_KEY" {
description = "AWS_SECRET_ACCESS_KEY"
type = string
# sensitive = true
default = "${{secrets.AWS_SECRET_ACCESS_KEY }}"
sensitive = true
#default = "${{secrets.AWS_SECRET_ACCESS_KEY }}"
}
*/

0 comments on commit 2281471

Please sign in to comment.