-
Notifications
You must be signed in to change notification settings - Fork 1
/
workspace.yaml
57 lines (57 loc) · 1.5 KB
/
workspace.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
apiVersion: app.terraform.io/v1alpha1
kind: Workspace
metadata:
name: test
spec:
# vcs:
# token_id: create token by following this guide https://www.terraform.io/docs/cloud/vcs/
# branch: main
# repo_identifier: dak1n1/tfc-operator-test
# sshKeyID: testkey
organization: operator-test # replace with your TFC org
secretsMountPath: "/tmp/secrets"
module:
source: "git::https://github.com/dak1n1/tfc-operator-test.git"
outputs:
- key: aws_ebs_volume_id
moduleOutputName: aws_ebs_volume_id
variables:
- key: region
sensitive: false
environmentVariable: false
valueFrom:
configMapKeyRef:
name: aws-configuration
key: region
- key: zone
value: us-west-2a
sensitive: false
environmentVariable: false
- key: size
value: "1"
sensitive: false
environmentVariable: false
- key: AWS_DEFAULT_REGION
valueFrom:
configMapKeyRef:
name: aws-configuration
key: region
sensitive: false
environmentVariable: true
# - key: AWS_ACCESS_KEY_ID
# sensitive: true
# environmentVariable: true
# - key: AWS_SECRET_ACCESS_KEY
# sensitive: true
# environmentVariable: true
# - key: AWS_SESSION_EXPIRATION
# sensitive: true
# environmentVariable: true
# - key: AWS_SESSION_TOKEN
# sensitive: true
# environmentVariable: true
- key: CONFIRM_DESTROY
value: "1"
sensitive: false
environmentVariable: true