[DOC-537] add storage integration in terraform

This commit is contained in:
Grzegorz Huber
2024-06-11 13:13:04 +02:00
parent fdae715161
commit b403013ea9
4 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ resource "aws_iam_role" "snowflake_integration_role" {
}
Condition = {
StringEquals = {
"sts:ExternalId" = "OQ11564_SFCRole=2_lNKzpyFn/e/xQgvGGpusVbEZA0A="
"sts:ExternalId" = var.storage_integration_external_id
}
}
},
+4 -1
View File
@@ -53,7 +53,10 @@ variable "mwaa_resources_s3_bucket" {
}
}
variable "aws_account_id" {
type = string
}
variable "storage_integration_external_id" {
type = string
}
@@ -1 +1,2 @@
aws_account_id = 660131068782
aws_account_id = 660131068782
storage_integration_external_id = "OQ11564_SFCRole=2_lNKzpyFn/e/xQgvGGpusVbEZA0A="
@@ -1 +1,2 @@
aws_account_id = 975049960860
aws_account_id = 975049960860
storage_integration_external_id = "OQ11564_SFCRole=2_L4NUsKqd3NIBmrATa1djc/T3ECQ="