hydra-aws-provider
v0.1.1
Published
Hydra helper for adding aws provider conifg.
Downloads
5
Readme
hydra-aws-provider
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