Skip to content

Commit

Permalink
fix(workspace): Apply Terraform formatting
Browse files Browse the repository at this point in the history
Applies Terraform formatting rules.
  • Loading branch information
langri-sha committed Aug 1, 2024
1 parent 2ac1193 commit 9e81c9d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions terraform/web/github.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module "github" {

source = "github.com/langri-sha/terraform-google-cloud-platform//modules/github?ref=v0.6.0"

name = each.key
project = each.value.project
name = each.key
project = each.value.project

actions_variables = try(each.value.actions_variables, null)
environments = each.value.environments
Expand Down
2 changes: 1 addition & 1 deletion terraform/web/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ locals {

actions_variables = merge({
for name, data in module.project :
"${upper(name)}_PROJECT_ID" => data.project_id
"${upper(name)}_PROJECT_ID" => data.project_id
})

environments = {
Expand Down
4 changes: 2 additions & 2 deletions terraform/web/traffic.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ resource "google_compute_backend_bucket" "public" {
name = "${each.value}-backend-bucket"
project = module.project["edge"].project_id

bucket_name = google_storage_bucket.public[each.value].name
bucket_name = google_storage_bucket.public[each.value].name
compression_mode = "AUTOMATIC"
enable_cdn = true
enable_cdn = true

custom_response_headers = [
"Referrer-Policy: no-referrer",
Expand Down

0 comments on commit 9e81c9d

Please sign in to comment.