======================
Missing feature in terraform aws provider.
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.
make release
Compiled binary files will be generated in release folder $HOME/release
# 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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request