Skip to content

Commit

Permalink
Merge pull request #74 from kevinsunny1996/build/rename_spotify_gcs_a…
Browse files Browse the repository at this point in the history
…nd_clean_up

Add force destroy flag and rename spotify bucket and commented flyte gcs bucket
  • Loading branch information
kevinsunny1996 authored Dec 8, 2023
2 parents 9bbdcc5 + 7c138cf commit 2951fd0
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions terraform/storage.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module "gcs_api_extract" {
version = "~> 3.4"
project_id = local.id
location = local.gs_region
names = ["spotify-web-api-extracts"]
names = ["rawg-api-extracts"]
prefix = local.name
set_admin_roles = true
# admins = ["group:${local.owner}"]
Expand All @@ -26,24 +26,25 @@ module "gcs_api_extract" {
#############################################################################################################
# GCS Bucket for Flyte orchestrator Backend
#############################################################################################################
module "flyte_gcs_backend" {
source = "terraform-google-modules/cloud-storage/google"
version = "~> 3.4"
project_id = local.id
location = local.gs_region
names = ["flyte-storage-backend"]
prefix = local.name
set_admin_roles = true
# admins = ["group:${local.owner}"]
versioning = {
terraform-state = true
}
bucket_admins = {
second = "user:${local.owner}"
}
# module "flyte_gcs_backend" {
# source = "terraform-google-modules/cloud-storage/google"
# version = "~> 3.4"
# project_id = local.id
# location = local.gs_region
# names = ["flyte-storage-backend"]
# prefix = local.name
# force_destroy = lookup()
# set_admin_roles = true
# # admins = ["group:${local.owner}"]
# versioning = {
# terraform-state = true
# }
# bucket_admins = {
# second = "user:${local.owner}"
# }

labels = {
project_name = local.name
project_workspace = local.id
}
}
# labels = {
# project_name = local.name
# project_workspace = local.id
# }
# }

0 comments on commit 2951fd0

Please sign in to comment.