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 1987f11 commit be76a20Copy full SHA for be76a20
terraform/rustc-ci/impl/artifacts.tf
@@ -125,6 +125,10 @@ module "artifacts_cdn" {
125
origin_domain_name = aws_s3_bucket.artifacts.bucket_regional_domain_name
126
}
127
128
+data "aws_s3_bucket" "inventories" {
129
+ bucket = "rust-inventories"
130
+}
131
+
132
resource "aws_s3_bucket_inventory" "artifacts" {
133
name = "all-objects-csv"
134
bucket = aws_s3_bucket.artifacts.id
@@ -138,7 +142,7 @@ resource "aws_s3_bucket_inventory" "artifacts" {
138
142
139
143
destination {
140
144
bucket {
141
- bucket_arn = aws_s3_bucket.artifacts.arn
145
+ bucket_arn = data.aws_s3_bucket.inventories.arn
146
prefix = aws_s3_bucket.artifacts.id
147
format = "CSV"
148
0 commit comments