Skip to content

Commit 64609aa

Browse files
demartinoframauri-melato
authored andcommitted
Rename AWS_PARALLELCLUSTER_CONFIG_FILE env var to AWS_PCLUSTER_CONFIG_FILE
Signed-off-by: Francesco De Martino <[email protected]>
1 parent cc8737e commit 64609aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cli/pcluster/cfnconfig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ def __init_config(self):
135135
if hasattr(self.args, "config_file") and self.args.config_file is not None:
136136
config_file = self.args.config_file
137137
default_config = False
138-
elif "AWS_PARALLELCLUSTER_CONFIG_FILE" in os.environ:
139-
config_file = os.environ["AWS_PARALLELCLUSTER_CONFIG_FILE"]
138+
elif "AWS_PCLUSTER_CONFIG_FILE" in os.environ:
139+
config_file = os.environ["AWS_PCLUSTER_CONFIG_FILE"]
140140
default_config = False
141141
else:
142142
config_file = os.path.expanduser(os.path.join("~", ".parallelcluster", "config"))

docs/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Configuration
44

55
ParallelCluster uses the file ``~/.parallelcluster/config`` by default for all configuration parameters.
66
You can change the location of the config file via the ``--config`` command option or by setting the
7-
AWS_PARALLELCLUSTER_CONFIG_FILE environment variable.
7+
``AWS_PCLUSTER_CONFIG_FILE`` environment variable.
88

99
An example configuration file can be found at ``site-packages/aws-parallelcluster/examples/config``.
1010

0 commit comments

Comments
 (0)