Search code examples
google-cloud-platformgoogle-cloud-interconnect

Create redundant vlan attachment for partner interconnect with terraform


I couldn't find this anywhere or a more specific forum, if there is any please redirect me.

Does the Google cloud terraform provider support the creation of a redundant pair of vlan attachments for Partner Interconnect? Either in a single action or in two steps (creating a standalone vlan and adding a redundant pair later).

I guess not, so a second question: If I create two VLAN attachments in two actions, one in each zone, is that covered by the 99.9% SLA?

Thanks!


Solution

  • For first question, yes. You can either think of each attachment as a separate resource, or use count to create multiple resources. I prefer the later and have an example here:

    https://github.com/jeheyer/terraform-modules/tree/main/google_compute_interconnect_attachment