From 0635f7ff2e0bbf63a114ee6ed1238933a9951615 Mon Sep 17 00:00:00 2001 From: c-bordon Date: Thu, 5 Sep 2024 16:46:21 -0300 Subject: [PATCH] Removed public ip restriction --- .github/workflows/builder_OVA.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/builder_OVA.yaml b/.github/workflows/builder_OVA.yaml index 9446700..2236600 100644 --- a/.github/workflows/builder_OVA.yaml +++ b/.github/workflows/builder_OVA.yaml @@ -104,7 +104,7 @@ jobs: id: alloc_vm_ova run: | instance=$(aws ec2 run-instances --image-id "${{ env.OVA_AMI }}" --count 1 --instance-type "${{ env.INSTANCE_TYPE }}" --key-name Ephemeral \ - --security-group-ids "${{ env.SECURITY_GROUP }}" --subnet-id "${{ env.SUBNET }}" --no-associate-public-ip-address \ + --security-group-ids "${{ env.SECURITY_GROUP }}" --subnet-id "${{ env.SUBNET }}" \ --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=gha_${{ github.run_id }}_ova_build},{Key=team,Value=devops}]') INSTANCE_ID=$(echo $instance | jq -r '.Instances[0].InstanceId') echo "INSTANCE_ID=${INSTANCE_ID}" >> $GITHUB_ENV