@@ -153,7 +153,7 @@ function create_ami_using_packer() {
153
153
# Function to get the ami id of the newly created image
154
154
155
155
function get_ami_id() {
156
- echo " Getting the image id"
156
+ echo " Getting the ami id"
157
157
158
158
# Get the ami id of the newly created image
159
159
# If any error occurs, exit the script with an error message
@@ -162,7 +162,7 @@ function get_ami_id() {
162
162
AMI_ID=$( aws ec2 describe-images --region " ${AWS_REGION} " --filters " Name=name,Values=${AMI_NAME} " --query ' Images[*].ImageId' --output text) ||
163
163
error_exit " Failed to get the ami id"
164
164
165
- # Set the image id as an environment variable
165
+ # Set the ami id as an environment variable
166
166
export AMI_ID
167
167
168
168
echo " ID of the newly created ami: ${AMI_ID} "
@@ -181,7 +181,7 @@ function get_all_ami_ids() {
181
181
AMI_ID_LIST=$( aws ec2 describe-images --region " ${AWS_REGION} " --filters " Name=name,Values=${AMI_BASE_NAME} -*" --query ' Images[*].ImageId' --output text) ||
182
182
error_exit " Failed to get the ami id list"
183
183
184
- # Set the image id list as an environment variable
184
+ # Set the ami id list as an environment variable
185
185
export AMI_ID_LIST
186
186
187
187
# Display the list of amis
@@ -190,7 +190,7 @@ function get_all_ami_ids() {
190
190
}
191
191
192
192
# Function to create or update podvm-images configmap with all the amis
193
- # Input AMI_ID_LIST is a list of image ids
193
+ # Input AMI_ID_LIST is a list of ami ids
194
194
195
195
function create_or_update_image_configmap() {
196
196
echo " Creating or updating podvm-images configmap"
0 commit comments