Skip to content
This repository was archived by the owner on Nov 24, 2018. It is now read-only.
This repository was archived by the owner on Nov 24, 2018. It is now read-only.

Lookup IOT Endpoint as part of deploy #446

Open
@waynerobinson

Description

@waynerobinson

Thanks for the great library! :)

Not sure where best to put this, but I recently created a simple CloudFormation stack that has a single output, the IOT Endpoint that makes it easy to use in other stacks throughout your AWS account.

https://github.com/waynerobinson/aws-iot-endpoint-stack

This allows me to replace the awsIotHost definition with awsIotHost: ${cf:iot-endpoint.IotEndpointAddress} and as long as the stack is deployed in the account I'm using Chromeless in, it can refer to the correct IOT endpoint.

Happy to create a PR here, but not quite sure where you'd like this added. It's possible to just add this function to the serverless.yml file and have it called directly as part of the deploy, rather than relying on a pre-existing stack.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @waynerobinson

        Issue actions

          Lookup IOT Endpoint as part of deploy · Issue #446 · schickling/chromeless