Skip to content

Azure pipeline library for the Flowpipe cloud scripting engine. Automation and workflows to connect Azure to the people, systems and data that matters.

License

Notifications You must be signed in to change notification settings

turbot/flowpipe-mod-azure

Repository files navigation

Azure Mod for Flowpipe

A collection of Flowpipe pipelines that can be used to:

  • Create virtual networks
  • Update resource tags
  • Stop virtual machines
  • And more!

Documentation

Getting started

Installation

Download and install Flowpipe (https://flowpipe.io/downloads). Or use Brew:

brew tap turbot/tap
brew install flowpipe

Clone:

git clone https://github.com/turbot/flowpipe-mod-azure.git
cd flowpipe-mod-azure

Configuration

Configure your credentials:

cp flowpipe.fpvars.example flowpipe.fpvars
vi flowpipe.fpvars

It's recommended to configure credentials through input variables by setting them in the flowpipe.fpvars file.

Note: Credentials can also be passed in each pipeline run with --arg client_id=e774c34-6391-46ce-b8a2-72d930c777.

Additional input variables may be defined in the mod's variables.fp file that can be configured to better match your environment and requirements.

Variables with defaults set do not need to be explicitly set, but it may be helpful to override them.

Usage

Start the Flowpipe server to get started:

flowpipe server

Run a pipeline:

flowpipe pipeline run get_compute_virtual_machine

Passing pipeline arguments

To pass values into pipeline parameters, use the following syntax:

flowpipe pipeline run get_compute_virtual_machine --arg vm_name="myVM"

Multiple pipeline args can be passed in with separate --arg flags.

For more information on passing arguments, please see Pipeline Args.

Contributing

If you have an idea for additional controls or just want to help maintain and extend this mod (or others) we would love you to join the community and start contributing.

Please see the contribution guidelines and our code of conduct.

Want to help but not sure where to start? Pick up one of the help wanted issues:

License

This mod is licensed under the Apache License 2.0.

Flowpipe is licensed under the AGPLv3.