Skip to content

Commit d6f2d45

Browse files
authored
AWS_MOUNT_EFS_ID vs AWS_EFS_MOUNT_ID (#132)
1 parent a22df3e commit d6f2d45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

operations/_scripts/generate/generate_ansible_playbook.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ echo -en "
4848
- name: Unmount efs
4949
include_tasks: tasks/umount.yml
5050
" >> $GITHUB_ACTION_PATH/operations/deployment/ansible/playbook.yml
51-
if [[ $(alpha_only "$AWS_EFS_CREATE") == true ]] || [[ $(alpha_only "$AWS_EFS_CREATE_HA") == true ]] || [[ $AWS_EFS_MOUNT_ID != "" ]]; then
51+
if [[ $(alpha_only "$AWS_EFS_CREATE") == true ]] || [[ $(alpha_only "$AWS_EFS_CREATE_HA") == true ]] || [[ $AWS_MOUNT_EFS_ID != "" ]]; then
5252
echo -en "
5353
- name: Mount efs
5454
include_tasks: tasks/mount.yml

operations/_scripts/generate/generate_tf_vars.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ create_root_cert=$(generate_var create_root_cert $CREATE_ROOT_CERT)
124124
create_sub_cert=$(generate_var create_sub_cert $CREATE_SUB_CERT)
125125
no_cert=$(generate_var no_cert $NO_CERT)
126126
#-- EFS --#
127-
if [[ $(alpha_only "$AWS_EFS_CREATE") == true ]] || [[ $(alpha_only "$AWS_EFS_CREATE_HA") == true ]] || [[ $AWS_EFS_MOUNT_ID != "" ]]; then
127+
if [[ $(alpha_only "$AWS_EFS_CREATE") == true ]] || [[ $(alpha_only "$AWS_EFS_CREATE_HA") == true ]] || [[ $AWS_MOUNT_EFS_ID != "" ]]; then
128128
aws_create_efs=$(generate_var aws_create_efs $AWS_CREATE_EFS)
129129
aws_create_ha_efs=$(generate_var aws_create_ha_efs $AWS_CREATE_HA_EFS)
130130
aws_create_efs_replica=$(generate_var aws_create_efs_replica $AWS_CREATE_EFS_REPLICA)

0 commit comments

Comments
 (0)