cloudposse / terraform-aws-vpc-peering-multi-account

Terraform module to provision a VPC peering across multiple VPCs in different accounts by using multiple providers
https://cloudposse.com/accelerate
Apache License 2.0
129 stars 92 forks source link

Feature request: allow disabling all accepter resources #51

Closed nate-selzer closed 2 years ago

nate-selzer commented 3 years ago

I have a use case where I need to peer vpcs with a third-party company (and therefore cannot assume a role in the accepter account). I'd like to still be able to manage my side of these vpc peering connections in terraform, even if I can't manage the accepter infrastructure. Could cloudposse add a flag to enable/disable accepter resources here?

Note also that accepter resources should be enabled for auto_accept to be true.

nate-selzer commented 3 years ago

https://github.com/cloudposse/terraform-aws-vpc-peering-multi-account/pull/52