-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
51 lines (43 loc) · 1.14 KB
/
variables.tf
File metadata and controls
51 lines (43 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
variable "project_id" {
type = string
description = "GCPのプロジェクトID"
}
variable "region" {
type = string
default = "asia-northeast1"
description = "リージョン名"
}
variable "zone" {
type = string
default = "asia-northeast1-a"
description = "ゾーン名"
}
variable "machine_type" {
type = string
default = "e2-medium"
description = "Compute Engine のマシンタイプ"
}
variable "instance_name" {
type = string
default = "nodejs-app-instance"
description = "Compute Engineインスタンス名"
}
variable "github_repo" {
type = string
description = "GitHubリポジトリのURL (例: your-org/your-repo)"
}
variable "github_branch" {
type = string
default = "main"
description = "デプロイするGitHubブランチ"
}
variable "app_port" {
type = number
default = 3000
description = "アプリケーションのポート番号"
}
variable "credentials_file" {
type = string
default = "service-account-key.json"
description = "GCPサービスアカウントのJSONキーファイルパス"
}