We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b75bbd0 commit 7bb8242Copy full SHA for 7bb8242
terraform/infrastructure/data.tf
@@ -41,3 +41,8 @@ data "external" "current-info" {
41
"../../scripts/get-current-info.sh",
42
]
43
}
44
+
45
+data "aws_s3_bucket" "source-data-bucket" {
46
+ count = var.use_shared_resources ? 1 : 0
47
+ bucket = "${local.shared_prefix}-source-data-bucket"
48
+}
terraform/infrastructure/modules/firehose/s3.tf
@@ -106,7 +106,3 @@ resource "aws_iam_policy" "firehose-alert--s3-read" {
106
107
})
108
109
-
110
-data "aws_s3_bucket" "source-data-bucket" {
111
- bucket = "${local.shared_prefix}-source-data-bucket"
112
-}
0 commit comments