Skip to content

Commit dd7e271

Browse files
committed
added provider and region
1 parent 3470d63 commit dd7e271

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

provider.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
provider "google" {
2+
project = var.project_id
3+
region = var.region
4+
}

variables.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
variable "project_id" {
2+
type = string
3+
description = "The GCP project ID."
4+
}
5+
6+
variable "region" {
7+
type = string
8+
description = "The GCP region where resources will be deployed."
9+
}
10+
111
variable "deployment_name" {
212
type = string
313
description = "A unique prefix for all deployed resources. If not provided, a random prefix will be generated."

0 commit comments

Comments
 (0)