-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathinstance.env.template
More file actions
39 lines (32 loc) · 1.73 KB
/
Copy pathinstance.env.template
File metadata and controls
39 lines (32 loc) · 1.73 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
export SHARED_DIR="instance-data"
export AWS_PROFILE=microshift-dev
export STACK_NAME=${USER}-dev
export RHEL_HOST_ARCHITECTURE=x86_64
export REGION=us-west-2
export EC2_INSTANCE_TYPE="c5n.metal"
export AWS_DEFAULT_REGION=us-west-2
# Availability Zone override (optional) - if set, the instance will be placed in this AZ
# Useful when a specific AZ has better capacity or pricing (e.g. for spot instances)
# Example: export AVAILABILITY_ZONE=us-west-2b
# export AVAILABILITY_ZONE=
# Spot Instance Settings
# Set to 'true' to use spot instances for significant cost savings (up to 90% off on-demand)
# Spot instances may be stopped by AWS when capacity is needed, but will NOT be terminated
# (uses persistent spot with stop interruption behavior)
# export USE_SPOT_INSTANCE=false
# EC2 Capacity Reservation Settings (ignored when USE_SPOT_INSTANCE=true)
# Enable capacity reservation check before instance creation (recommended)
# Set to 'false' to disable the pre-flight capacity check
export ENABLE_CAPACITY_RESERVATION=true
# Duration in minutes for capacity reservation (auto-expires to prevent orphaned reservations)
# Default: 60 minutes - should be enough for CloudFormation stack creation
# export CAPACITY_RESERVATION_DURATION_MINUTES=60
export SSH_PUBLIC_KEY=/home/${USER}/.ssh/id_ed25519.pub #It is suggested that this key has no passphrase for ease of use
# Leave empty for auto-detect ami for images, defaults to RHEL 9.6 GA
export RHEL_HOST_AMI=''
export RHEL_VERSION=''
# Red Hat Subscription Manager - use activation key for non-interactive registration
# export RHSM_ACTIVATION_KEY="your-activation-key-here"
# export RHSM_ORG="your-org-id-here"
# OpenShift version configuration - fallback version if API call fails
export DEFAULT_OCP_VERSION="4.20"