aws-solutions / workload-discovery-on-aws

Workload Discovery on AWS is a solution to visualize AWS Cloud workloads. With it you can build, customize, and share architecture diagrams of your workloads based on live data from AWS. The solution maintains an inventory of the AWS resources across your accounts and regions, mapping their relationships and displaying them in the user interface.
https://aws.amazon.com/solutions/implementations/workload-discovery-on-aws/
Apache License 2.0
726 stars 87 forks source link

OpenSearch substack and resource type #505

Open tnh opened 9 months ago

tnh commented 9 months ago

If your issue relates to the Discovery Process, please first follow the steps described in the implementation guide Debugging the Discovery Component


Describe the bug A . opensearch stack supports wrong instances.

To Reproduce Steps to reproduce the behavior:

in ap-southeast-2

2024-02-07 06:33:15 UTC+1100 | OpenSearchDomain | CREATE_FAILED | Resource handler returned message: "Invalid request provided: Invalid instance type: t2.micro.search (Service: OpenSearch, Status Code: 409, Request ID: 35c47295-674b-48a9-ac35-90a8d7372404)" (RequestToken: 9fc245d0-a586-9d23-638b-456a7aebec48, HandlerErrorCode: InvalidRequest)
-- | -- | -- | --

instance supports t2.micro for search, but clearly doesnt in ap-southeast-2.

Using version :v2.1.5

Description: Workload Discovery on AWS Main Template (SO0075a) - Solution - Main Template (uksb-1r0720e27) (version:v2.1.5)
tnh commented 9 months ago

think its just as simple as reducing this list: https://github.com/aws-solutions/workload-discovery-on-aws/blob/main/source/cfn/templates/main.template#L154

svozza commented 9 months ago

That's very odd, according to the OpenSearch docs that instance type should be supported in ap-southeast-2.

Screenshot 2024-02-06 at 22 16 17