Skip to content

failure running cloudiscovery aws-vpc --vpc-id <vpc-id> --region-name us-east-1 --diagram yes #187

@samidalouche

Description

@samidalouche
➜  ~ brew info cloudiscovery
==> cloudiscovery: stable 2.4.4 (bottled)
Help you discover resources in the cloud environment
https://github.com/Cloud-Architects/cloudiscovery
/usr/local/Cellar/cloudiscovery/2.4.4 (3,803 files, 92.7MB) *
  Poured from bottle on 2022-12-26 at 09:20:01
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/cloudiscovery.rb
License: Apache-2.0
==> Dependencies
Required: python@3.11 ✔, six ✔
==> Analytics
install: 22 (30 days), 54 (90 days), 212 (365 days)
install-on-request: 22 (30 days), 55 (90 days), 213 (365 days)
build-error: 0 (30 days)
Inspecting resources

Error running check RDS.get_resources. Error message An error occurred (InvalidParameterValue) when calling the DescribeDBInstances operation: Unrecognized engine name: oracle-se1

Error running check RDS.get_resources. Error message An error occurred (InvalidParameterValue) when calling the DescribeDBInstances operation: Unrecognized engine name: oracle-se1

Error running check SAGEMAKERMODEL.get_resources. Error message An error occurred (ValidationException) when calling the DescribeTrainingJob operation: Requested resource not found.
You've found a bug! Please, open an issue in GitHub project
https://github.com/Cloud-Architects/cloudiscovery/issues

Python:        3.11.1 (main, Dec 23 2022, 09:40:27) [Clang 14.0.0 (clang-1400.0.29.202)]
boto3 version: 1.26.5
Platform:      macOS-12.6.2-x86_64-i386-64bit

Traceback (most recent call last):
  File "/usr/local/Cellar/cloudiscovery/2.4.4/libexec/lib/python3.11/site-packages/cloudiscovery/shared/error_handler.py", line 21, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/cloudiscovery/2.4.4/libexec/lib/python3.11/site-packages/cloudiscovery/shared/common.py", line 130, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/cloudiscovery/2.4.4/libexec/lib/python3.11/site-packages/cloudiscovery/provider/aws/vpc/resource/analytics.py", line 189, in get_resources
    if "RdsParameters" in data_source["DataSource"]["DataSourceParameters"]:
                          ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'DataSourceParameters'

You've found a bug! Please, open an issue in GitHub project
https://github.com/Cloud-Architects/cloudiscovery/issues

Python:        3.11.1 (main, Dec 23 2022, 09:40:27) [Clang 14.0.0 (clang-1400.0.29.202)]
boto3 version: 1.26.5
Platform:      macOS-12.6.2-x86_64-i386-64bit

Traceback (most recent call last):
  File "/usr/local/Cellar/cloudiscovery/2.4.4/libexec/lib/python3.11/site-packages/cloudiscovery/shared/error_handler.py", line 21, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/cloudiscovery/2.4.4/libexec/lib/python3.11/site-packages/cloudiscovery/shared/common.py", line 130, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/cloudiscovery/2.4.4/libexec/lib/python3.11/site-packages/cloudiscovery/provider/aws/vpc/resource/containers.py", line 58, in get_resources
    if data_service_detail["launchType"] == "FARGATE":
       ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'launchType'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions