Code Monkey home page Code Monkey logo

terraform-provider-astronomer's Introduction

Astronomer Provider

GK Consulting is a DevOps / Infrastructure shop. We think Astronomer is the right choice for a company who doesn't want to deal with the organizational challenges of managing their own Airflow cluster. However, we didn't like the fact we couldn't provision it like all our other infrastructure - via Terraform. We built this provider so that it would benefit our clients and allow us to continue to adhere to best practices. We are committed to maintaining this repository - PRs are welcome.

Astronomer's API isn't out of beta yet but when it comes out of beta, we will bump our provider to v1.0 (along with any necessary changes).

Please drop us a line if you'd like support, or have other IaC / DevOps needs. We would love to connect and see how we can partner together.

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go install command:
go install

Adding Dependencies

This provider uses Go modules. Please see the Go documentation for the most up to date information about using Go modules.

To add a new dependency github.com/author/dependency to your Terraform provider:

go get github.com/author/dependency
go mod tidy

Then commit the changes to go.mod and go.sum.

Using the provider

You will need an Astronomer API token to use this provider. You'll either need to pass this into the provider via the token parameter or you'll need to set the ASTRONOMER_API_TOKEN correctly.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).

To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.

To generate or update documentation, run go generate.

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

make testacc

terraform-provider-astronomer's People

Contributors

ikegentz avatar openglshaders avatar

Stargazers

mucio avatar  avatar R.A.Walshe avatar  avatar Stuart Buckingham avatar Andy McCabe avatar Pankaj Singh avatar  avatar Ryan Hatter avatar Goutam Tadi avatar Phani Kumar avatar Mike Lewis avatar Felix Uellendall avatar Ash Berlin-Taylor avatar  avatar Daniel Hoherd avatar

terraform-provider-astronomer's Issues

Possibility to create tokens for Organisations and Deployments

As per title.

It would be useful to generate token and set them, also using terraform, as variables/secretes in git repos to completely automate the creation of a deployment with the associated git repo.

Happy to try to create a PR with some support :)

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.