A bare-bones Terraform module to be forked and turned into something useful.
Branch | Build status |
---|---|
master | |
dev |
Assumptions stated here.
aws_region
- Region to deploy our resources. (Required)tags
- A mapping of tags to assign to the resource.
some_output
- description of output
A full example leveraging other community modules is contained in the examples/test_fixtures directory. Here's the gist of using it via the Terraform registry:
module "this" {
source = "terraform-aws-modules/foo/aws"
vpc_id = "${var.vpc_id}"
tags {
"Terraform" = "true"
"Env" = "${terraform.workspace}"
}
}
- Always
terraform plan
to see your change before runningterraform apply
. - Win the day!
Discuss the various terraform import commands that could be run to get this module close to owning a set of existing live infra.
This module has been packaged with awspec tests through test kitchen. To run them:
- Install the prerequisites of rvm and ruby 2.4.2 via homebrew.
- Install bundler and the gems from our Gemfile:
rvm install 2.4.2; gem install bundler; bundle install
- Test using
kitchen test
from the root of the repo.
Report issues/questions/feature requests on in the Issues section.
Pull requests are welcome! Ideally create a feature branch and issue for every individual change made. These are the steps:
- Fork the repo to a personal space or org.
- Create your feature branch from master (
git checkout -b my-new-feature
). - Commit your awesome changes (
git commit -am 'Added some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create a new Pull Request and tell us about your changes.
The change log captures all important release notes.
Created and maintained by Brandon O'Connor - [email protected].
MIT Licensed. See LICENSE for full details.