完了確認
「Lambda関数"handson-cli-lambda-boto3-ec2-revoke-function"の更新に成功している。」ことを確認します。
コマンド:
aws lambda get-function \
--function-name ${LAMBDA_FUNCTION_NAME} \
--query 'Configuration.LastUpdateStatus' \
--output text
結果(例):
「Lambda関数"handson-cli-lambda-boto3-ec2-revoke-function"の設定に環境変数が存在する。」ことを確認します。
コマンド:
aws lambda get-function-configuration \
--function-name ${LAMBDA_FUNCTION_NAME} \
--query 'Environment.Variables'
結果(例):
{
"VPC_ID": "vpc-xxxxxxxxxxxxxxxxx",
"REGION": "ap-northeast-1",
"SECURITY_GROUP_ID": "sg-xxxxxxxxxxxxxxxxx"
}