pcluster describe-image
Get detailed information about an image.
pcluster describe-image [-h] --image-id
IMAGE_ID
[--debug] [--query QUERY] [--regionREGION
]
Named arguments
-h, --help
-
Shows the help text for
pcluster describe-image
. --image-id, -i
IMAGE_ID
-
Specifies the ID of the image.
--debug
-
Enables debug logging.
--query
QUERY
-
Specifies the JMESPath query to perform on the output.
--region, -r
REGION
-
Specifies the AWS Region to use. The AWS Region must be specified, using the
AWS_DEFAULT_REGION
environment variable, theregion
setting in the[default]
section of the~/.aws/config
file, or the--region
parameter.
Example using AWS ParallelCluster version 3.1.2:
$
pcluster describe-image --image-id
custom-alinux2-image
{ "imageConfiguration: { "url": "https://parallelcluster-1234abcd5678-v1-do-not-delete.../configs/image-config.yaml" }, "imageId": "custom-alinux2-image", "creationTime": "2022-04-05T20:23:07.000Z" "imageBuildStatus": "BUILD_COMPLETE", "region": "us-east-1", "ec2AmiInfo": { "amiName": "custom-alinux2-image 2022-04-05T19-55-22.518Z", "amiId": "ami-1234abcd5678efgh", "description": "AWS ParallelCluster AMI for alinux2, kernel-4.14.268-205.500.amzn2.x86_64, lustre-2.10.8-5.amzn2.x86_64, efa-1.14.2-1.amzn2.x86_64, dcv-2021.3.11591-1.el7.x86_64, slurm-21-08-6-1", "state": "AVAILABLE", "tags": [ { "value": "arn:aws:imagebuilder:us-east-1:123456789012:image/parallelclusterimage-custom-alinux2-image/3.1.2/1", "key": "Ec2ImageBuilderArn" }, { "value": "parallelcluster-1234abcd5678efgh-v1-do-not-delete", "key": "parallelcluster:amzn-s3-demo-bucket" }, { "value": "custom-alinux2-image", "key": "parallelcluster:image_name" }, { "value": "available", "key": "parallelcluster:build_status" }, { "value": "s3://
amzn-s3-demo-bucket
/parallelcluster/3.1.2/images/custom-alinux2-image-1234abcd5678efgh/configs/image-config.yaml", "key": "parallelcluster:build_config" }, { "value": "Amazon EC2 Image Builder", "key": "CreatedBy" }, { "value": "arn:aws:logs:us-east-1:123456789012:log-group:/aws/imagebuilder/ParallelClusterImage-custom-alinux2-image", "key": "parallelcluster:build_log" }, { "value": "4.14.268-205.500.amzn2.x86_64", "key": "parallelcluster:kernel_version" }, { "value": "arn:aws:imagebuilder:us-east-1:444455556666:image/amazon-linux-2-x86/2022.3.16/1", "key": "parallelcluster:parent_image" }, { "value": "3.1.2", "key": "parallelcluster:version" }, { "value": "0.5.14", "key": "parallelcluster:munge_version" }, { "value": "21-08-6-1", "key": "parallelcluster:slurm_version" }, { "value": "2021.3.11591-1.el7.x86_64", "key": "parallelcluster:dcv_version" }, { "value": "alinux2-image", "key": "parallelcluster:image_id" }, { "value": "3.2.3", "key": "parallelcluster:pmix_version" }, { "value": "parallelcluster/3.7.0/images/alinux2-image-abcd1234efgh56781234", "key": "parallelcluster:s3_image_dir" }, { "value": "1.14.2-1.amzn2.x86_64", "key": "parallelcluster:efa_version" }, { "value": "alinux2", "key": "parallelcluster:os" }, { "value": "aws-parallelcluster-cookbook-3.1.2", "key": "parallelcluster:bootstrap_file" }, { "value": "1.8.23-10.amzn2.1.x86_64", "key": "parallelcluster:sudo_version" }, { "value": "2.10.8-5.amzn2.x86_64", "key": "parallelcluster:lustre_version" } ], "architecture": "x86_64" }, "version": "3.1.2" }