Skip to content

Commit

Permalink
[Fix]: omit configs to variables (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Istiopaxx authored May 7, 2023
1 parent 4ad801f commit eabe943
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ provider "aws" {
}

provider "google" {
project = "poetic-torch-381606"
region = "asia-northeast3"
project = var.gcp_project_id
region = var.gcp_region
}

resource "aws_s3_bucket" "image_main" {
Expand Down
12 changes: 12 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ variable "aws_s3_image_main_bucket_name" {

# gcp

variable "gcp_project_id" {
description = "GCP project id"
type = string
sensitive = true
}

variable "gcp_region" {
description = "GCP region"
type = string
sensitive = true
}

variable "cloud_run_image_name" {
type = string
sensitive = true
Expand Down

0 comments on commit eabe943

Please sign in to comment.