hydra-aws-provider

0.1.1 • Public • Published

hydra-aws-provider

Build status Git tag NPM version Code style

Hydra helper for adding aws provider conifg.

Installation

$ npm install hydra-aws-provider

Usage

aws.tf.js

module.exports = require('hydra-aws-provider')

Code

module.exports = {
  "variable": {
    "aws_region": {
      "default": function * () {
        return (yield readRegion()).region
      }
    }
  },
  "provider": {
    "aws": {
      "region": "${var.aws_region}"
    }
  }
}

readRegion grabs the region from your config file.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i hydra-aws-provider

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • joshrtay