-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcloudbuild.yaml
39 lines (39 loc) · 1.31 KB
/
cloudbuild.yaml
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
steps:
- name: 'hashicorp/terraform'
args:
- 'init'
- name: 'hashicorp/terraform'
args: [
'plan',
'-var', 'project_id=$PROJECT_ID',
'-var', 'prefix=deploystack',
'-var', 'dataset_id=ds_dataset',
'-var', 'filter=protoPayload.methodName:\"google.admin.\"',
'-var', 'org_id=652740264652',
'-var', '[email protected]',
'-var', '[email protected]'
]
- name: 'hashicorp/terraform'
args: [
'apply',
'-var', 'project_id=$PROJECT_ID',
'-var', 'prefix=deploystack',
'-var', 'dataset_id=ds_dataset',
'-var', 'filter=protoPayload.methodName:\"google.admin.\"',
'-var', 'org_id=652740264652',
'-var', '[email protected]',
'-var', '[email protected]',
'-auto-approve'
]
- name: 'hashicorp/terraform'
args: [
'destroy',
'-var', 'project_id=$PROJECT_ID',
'-var', 'prefix=deploystack',
'-var', 'dataset_id=ds_dataset',
'-var', 'filter=protoPayload.methodName:\"google.admin.\"',
'-var', 'org_id=652740264652',
'-var', '[email protected]',
'-var', '[email protected]',
'-auto-approve'
]