Skip to content

Commit

Permalink
Tag name for update check's ec2 run-instances call
Browse files Browse the repository at this point in the history
  • Loading branch information
danehlim committed Dec 3, 2024
1 parent 678d9d6 commit d1415d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/check-update-security.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ instance_id=$(aws ec2 run-instances \
--image-id $ami_id \
--instance-type $instance_type \
--iam-instance-profile Arn=$IAM_INSTANCE_PROFILE_ARN \
--user-data file://user_data.txt |
--user-data file://user_data.txt \
--tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value='$platform-check-update-security'}]' |
jq -r '.Instances[0].InstanceId')
command_params='commands=["yum check-update --security --sec-severity=critical --exclude=nvidia*,docker*,cuda*,containerd*,runc* -q"]'

Expand Down

0 comments on commit d1415d3

Please sign in to comment.