Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxesn committed Nov 8, 2023
1 parent 098f226 commit 3573bb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ if [ "$CODEBUILD_CI" = "true" ]; then
RUN_INSTANCE_EXTRA_ARGS="--subnet-id $SUBNET_ID --placement AvailabilityZone=$SUBNET_AZ --security-group-ids $RAW_IMAGE_BUILD_SECURITY_GROUP --associate-public-ip-address --iam-instance-profile Name=eksa-imagebuilder-instance-profile"
fi

AMI_ID=$(aws ec2 describe-images --owners 857151390494 --filters "Name=tag:KVMBuilder,Values=Ubuntu 2004" --query 'sort_by(Images, &CreationDate)[-1].[ImageId]' --output text)
AMI_ID=$(aws ec2 describe-images --owners 857151390494 --filters 'Name=name,Values=kvm-Ubuntu-builder-*' --query 'sort_by(Images, &CreationDate)[-1].[ImageId]' --output text)

MAX_RETRIES=20
for i in $(seq 1 $MAX_RETRIES); do
Expand Down

0 comments on commit 3573bb7

Please sign in to comment.