Skip to content

Commit ed581df

Browse files
authored
fix: cors config (#968)
1 parent d4bfb20 commit ed581df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

infra/batch/main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ resource "google_storage_bucket" "datasets_bucket" {
7676
soft_delete_policy {
7777
retention_duration_seconds = local.retention_duration_seconds
7878
}
79+
cors {
80+
origin = ["*"]
81+
method = ["GET"]
82+
response_header = ["*"]
83+
}
7984
}
8085

8186
# Grant permissions to the service account to access the datasets bucket

0 commit comments

Comments
 (0)