Skip to content

Commit 10b1997

Browse files
authored
fixed issue with cgid
1 parent d7035a7 commit 10b1997

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloudgoat/core/python/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def configure_or_check_whitelist(self, auto=False, print_values=False):
373373

374374
def _get_tf_vars(self, cgid=None):
375375
if not cgid:
376-
cgid = os.path.basename(self.instance_path)
376+
cgid = extract_cgid_from_dir_name(self.instance_path)
377377

378378
tf_vars = {"cgid": cgid, "cg_whitelist": self.cg_whitelist}
379379
if self.scenario_cloud_platform == 'aws':

0 commit comments

Comments
 (0)