Skip to content

Add support for External VPCs in SDDC Group #203

@lscheidler

Description

@lscheidler

Is your feature request related to a problem? Please describe.

I want to automate the AWS Account Association and attachment of External VPCs in the SDDC Group resource.

Describe the solution you'd like

resource "vmc_sddc_group" "sddc_group" {
   name  = var.sddc_group_name
   description    = var.sddc_group_description
   sddc_member_ids = [vmc_sddc.sddc_1.id, vmc_sddc.sddc_2.id]

  vpc_attachments {
    account_id = "012345678901"
    vpc_id = "vpc-12345678901234567"
   configured_prefixes = "10.0.0.0/8"
  }
}

Not sure, how we can handle external dependencies here (External AWS Accounts needs to accept request), so maybe it more like a shot and forget scenario here. Or maybe it makes sense to separate it to an additional resource.

Describe alternatives you've considered

There is no alternative despite using the web UI (which is in my opinion not a real alternative)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions