Coder Social home page Coder Social logo

EC2::Host about aws-list-resources HOT 1 CLOSED

michield avatar michield commented on August 14, 2024
EC2::Host

from aws-list-resources.

Comments (1)

michael-kirchner-at avatar michael-kirchner-at commented on August 14, 2024

Thank you for bringing this up! Are you looking for EC2 instances maybe? "AWS::EC2::Host" and "AWS::EC2::Instance" are two different things unfortunately... "Host" is a dedicated physical machine, while "Instance" are virtual machines. The AWS Cloud Control API unfortunately does not support "AWS::EC2::Instance" at the moment:
https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/supported-resources.html

I see that CloudFormation does support it though, so I'd be hoping that it's only a matter of time that the Cloud Control API will support it too:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html

If you are looking to discover whether EC2 instances are present, there should be some workarounds though: aws-list-resources will find resource types that can give you a hint that EC2 instances are likely present: "AWS::EC2::Volume", "AWS::EC2::NetworkInterface", "AWS::IAM::InstanceProfile", "AWS::EC2::KeyPair" and "AWS::EC2::EIP". And if the account does not use the default VPC but spun up their own virtual network, there will also be additional resources for: "AWS::EC2::NetworkAcl", "AWS::EC2::RouteTable", "AWS::EC2::Subnet", "AWS::EC2::InternetGateway", etc.

from aws-list-resources.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.