Skip to content

ozbillwang/terraform-provider-awsplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-provider-awsplus

======================

Build Status

Missing feature in terraform aws provider.

awsplus_vpc_peering_accept_all

Customized provider to accept VPC Peering connection requests from different AWS Account ID. At the moment, aws_vpc_peering_connection resource only allow auto accept requests if they belong to a same AWS Account ID.

Build the provider:

make release

Compiled binary files will be generated in release folder $HOME/release

How to use this resource:

# Edit $HOME/.terraformrc
# Adjust release name with your own operation system.
providers {
  awsplus="$HOME/release/terraform-provider-awsplus-linux-amd64"
}

# prepare terraform configuraiton file (for example peering.tf)
resource "awsplus_vpc_peering_accept_all" "MyPeering" {
  accepter        = "123456789"
  requester       = "987654321"
  aws_region      = "us-west-2"
}

$ terraform plan
$ terraform apply

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request