Skip to content

Commit

Permalink
(IaC) main file
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Alexandre35 committed Oct 13, 2024
1 parent b0eccd3 commit 8187d36
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 59 deletions.
21 changes: 0 additions & 21 deletions iac/.terraform.lock.hcl

This file was deleted.

2 changes: 1 addition & 1 deletion iac/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resource "google_project_iam_member" "gcs_deploy_sa_object_viewer" {
role = "roles/storage.objectViewer"
}

# Assign Object Creator Role to Service Account for GCS
# Assign Object Creator Role to Service Account for GCS (new role added)
resource "google_storage_bucket_iam_member" "gcs_deploy_sa_object_creator" {
bucket = google_storage_bucket.static_site.name # Reference your bucket
member = "serviceAccount:${google_service_account.gcs_deploy_sa.email}"
Expand Down
3 changes: 0 additions & 3 deletions iac/provider.tf

This file was deleted.

22 changes: 0 additions & 22 deletions iac/sa.tf

This file was deleted.

12 changes: 0 additions & 12 deletions iac/variables.tf

This file was deleted.

0 comments on commit 8187d36

Please sign in to comment.