cloudbees/terraform-provider-aws

Name: terraform-provider-aws

Owner: CloudBees

Description: Terraform AWS provider

Forked from: terraform-providers/terraform-provider-aws

Created: 2017-11-14 16:17:24.0

Updated: 2017-11-14 16:17:30.0

Pushed: 2017-11-14 16:23:50.0

Homepage: https://www.terraform.io/docs/providers/aws/

Size: 21935

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Terraform Provider

Requirements
Building The Provider

Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-aws

dir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
t clone git@github.com:terraform-providers/terraform-provider-aws

Enter the provider directory and build the provider

 $GOPATH/src/github.com/terraform-providers/terraform-provider-aws
ke build
Using the provider

If you're building the provider, follow the instructions to install it as a plugin. to install it as a plugin. After placing it into your plugins directory, run terraform init to initialize it.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.8+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

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

ke build

OPATH/bin/terraform-provider-aws

In order to test the provider, you can simply run make test.

Note: Make sure no AWS_ACCESS_KEY_ID or AWS_SECRET_ACCESS_KEY variables are set, and there's no [default] section in the AWS credentials file ~/.aws/credentials.

ke test

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.

ke testacc

If you need to add a new package in the vendor directory under github.com/aws/aws-sdk-go, create a separate PR handling only the update of the vendor for your new requirement. Make sure to pin your dependency to a specific version, and that all versions of github.com/aws/aws-sdk-go/* are pinned to the same version.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.