-
Notifications
You must be signed in to change notification settings - Fork 130
Expand file tree
/
Copy path.env.example
More file actions
45 lines (40 loc) · 1.82 KB
/
.env.example
File metadata and controls
45 lines (40 loc) · 1.82 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
# Nutanix acceptance test environment
# Copy to .env and fill in values. When running Go tests from the editor (Cursor/VS Code),
# the Go extension loads this file automatically (see .vscode/settings.json go.testEnvFile).
# To run acceptance tests from the editor, add: TF_ACC=1
# Do not commit .env if it contains real credentials.
TF_ACC=1
CGO_ENABLED=0
NUTANIX_ENDPOINT="x.x.x.x"
NUTANIX_USERNAME="x.x.x.x"
NUTANIX_PASSWORD="x.x.x.x"
NUTANIX_INSECURE=true
NUTANIX_PORT=9440
NUTANIX_PE_PASSWORD="x.x.x.x"
NUTANIX_PE_USERNAME="x.x.x.x"
NUTANIX_STORAGE_CONTAINER="x.x.x.x"
FOUNDATION_ENDPOINT="x.x.x.x"
FOUNDATION_PORT=8000
NOS_IMAGE_TEST_URL="test"
PROTECTION_RULES_TEST_FLAG=false
NDB_ENDPOINT="x.x.x.x"
NDB_USERNAME="x.x.x.x"
NDB_PASSWORD="x.x.x.x"
# API Key (the `X-Ntnx-Api-Key` header will be used instead of Basic Authentication) and Custom Headers (eg for Cloudflare Access)
<<<<<<< task/fix-api-key-testing
# NUTANIX_API_KEY="xxx"
# Note: pc_restore_source_v2 and related restore resources require username/password (basic auth) - API key is not supported as the API routes to Prism Element clusters.
# Note: nutanix_protection_policy_v2 and related protection policy resources require username/password - API key is not supported for multi-site protection policy operations.
# NUTANIX_HEADER_CF_ACCESS_CLIENT_ID="xxx.access"
# NUTANIX_HEADER_CF_ACCESS_CLIENT_SECRET="xxx"
# Object Store S3 credentials (optional; for object store acceptance tests when using API key auth)
# Nutanix Objects S3 does not support API key - use NUTANIX_USERNAME/PASSWORD or these Object Store keys:
# NUTANIX_OBJECT_STORE_ACCESS_KEY="xxx"
# NUTANIX_OBJECT_STORE_SECRET_KEY="xxx"
=======
# NUTANIX_API_KEY="xxx"
# NUTANIX_HEADER_CF_ACCESS_CLIENT_ID="xxx.access"
# NUTANIX_HEADER_CF_ACCESS_CLIENT_SECRET="xxx"
>>>>>>> master
# Terraform / test log level
TF_LOG=ERROR