terraform-google-modules/terraform-google-project-factory

enable_shared_vpc_service_project is not working

red8888 opened this issue · 1 comments

TL;DR

This config does not create an attachment:

module "shared_vpc_attachment" {
  source                             = "terraform-google-modules/project-factory/google//modules/shared_vpc_access"
  enable_shared_vpc_service_project  = true
  host_project_id                    = "sdfsd"
  service_project_id                 = "sdfsdf"
  active_apis = [
    "vpcaccess.googleapis.com",
  ]
  shared_vpc_subnets = [
    "sdfsdf",
    "sdfsdfsd",
  ]
}

Expected behavior

It should create a google_compute_shared_vpc_service_project resource but its only assigning perms

Observed behavior

it does not it only creates these to perms

  + resource "google_compute_subnetwork_iam_member" "service_shared_vpc_subnet_users" {
  + resource "google_compute_subnetwork_iam_member" "service_shared_vpc_subnet_users" {

Terraform Configuration

see above for snippet

Terraform Version

Terraform v1.1.4
on darwin_arm64
+ provider registry.terraform.io/hashicorp/google v5.32.0
+ provider registry.terraform.io/hashicorp/google-beta v5.32.0
+ provider registry.terraform.io/hashicorp/random v3.6.2
+ provider registry.terraform.io/hashicorp/time v0.11.2

Additional information

No response