Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support External VPCs in SDDC Group #203

Open
lscheidler opened this issue Sep 26, 2023 · 3 comments
Open

Support External VPCs in SDDC Group #203

lscheidler opened this issue Sep 26, 2023 · 3 comments

Comments

@lscheidler
Copy link

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

@vasilsatanasov
Copy link
Contributor

Hi @lscheidler
Are those external VPCs deployed on VMC or they are completely external resources, deployed outside VMC ?

@lscheidler
Copy link
Author

Hi @vasilsatanasov,

this AWS Accounts are external resources. So the idea behind it, is to automate the workflow of:

  • Add external AWS Account ID to "External VPC"
    Screenshot_from_2023-09-28_17-36-26
  • Accept the VPC
  • Create prefixes for that VPC on VMC site

@vasilsatanasov
Copy link
Contributor

Hi @lscheidler since there is an UI for it there should be possibility to automate this. I will dig deeper and will follow up on this when I have more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants