Skip to content

Commit

Permalink
New AMIs for RedHat Chef Compliance Workstations
Browse files Browse the repository at this point in the history
* ChefDK 1.0.3 is installed
* AMI version bumped to 1.3.1
* AMI name updated
* AMI ID updated in the build and show scripts

Signed-off-by: Nathen Harvey <nharvey@chef.io>
  • Loading branch information
Nathen Harvey committed Nov 30, 2016
1 parent f3ab894 commit c0214bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build_compliance_workstations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Builds training instances in EC2
USAGE="Usage: $0 [number] [name] [department] [contact] [project] [termination-date]"

AMI_ID=ami-352f0d22
AMI_ID=ami-614d7476

NUMHOSTS=$1
NAME=$2
Expand Down
2 changes: 1 addition & 1 deletion compliance-rhel.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"instance_type": "m3.medium",
"source_ami": "ami-2051294a",
"ssh_username": "ec2-user",
"ami_name": "Compliance Workshop Workstation - RedHat 7 - 1.2.1"
"ami_name": "Compliance Workshop Workstation (ChefDK 1.0.3)- RedHat 7 - 1.3.1"
}],

"provisioners": [{
Expand Down
2 changes: 1 addition & 1 deletion show_running_compliance_instances.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

AMI_ID=ami-352f0d22
AMI_ID=ami-614d7476

aws ec2 describe-instances --query 'Reservations[*].Instances[*].[InstanceId,ImageId,PublicIpAddress,State.Name,Tags[?Key==`Name`].Value | [0]]' --output text | grep running | grep $AMI_ID

0 comments on commit c0214bf

Please sign in to comment.