Closed cameronkroeker closed 3 months ago
In region ap-east-1 (HongKong) I get the following error when running the site-core-aws GitHub Actions workflow:
ap-east-1
Error: Your query returned no results. Please change your search criteria and try again.
https://github.com/ArcGIS/arcgis-gitops/blob/cf779c2f7acdbf86e27b9d25a9fa6e53744e7853/config/aws/arcgis-site-core/infrastructure-core.tfvars.json#L63-L67
I was able to determine the issue was with the owner ID by running the following query:
aws ec2 describe-images --owners amazon --image-ids ami-0860b97ed8a7cab8f { "Images": [ { "Architecture": "x86_64", "CreationDate": "2024-06-14T01:51:26.000Z", "ImageId": "ami-0860b97ed8a7cab8f", "ImageLocation": "amazon/Windows_Server-2022-English-Full-Base-2024.06.13", "ImageType": "machine", "Public": true, "OwnerId": "777534740333", "Platform": "windows", "PlatformDetails": "Windows", "UsageOperation": "RunInstances:0002", "State": "available",
Changing the OwnerId resolved the issue. I am not sure if this is a region specific issue or not. All the other OS Images worked using the defaults. Perhaps this just warrants a doc update on how to obtain these values using the aws query command.
In region
ap-east-1
(HongKong) I get the following error when running the site-core-aws GitHub Actions workflow:Error: Your query returned no results. Please change your search criteria and try again.
https://github.com/ArcGIS/arcgis-gitops/blob/cf779c2f7acdbf86e27b9d25a9fa6e53744e7853/config/aws/arcgis-site-core/infrastructure-core.tfvars.json#L63-L67
I was able to determine the issue was with the owner ID by running the following query:
Changing the OwnerId resolved the issue. I am not sure if this is a region specific issue or not. All the other OS Images worked using the defaults. Perhaps this just warrants a doc update on how to obtain these values using the aws query command.