privacysandbox / aggregation-service

This repository contains instructions and scripts to set up and test the Privacy Sandbox Aggregation Service
Apache License 2.0
63 stars 34 forks source link

Aggregation service deployment using user provided vpc fails #72

Closed mkadzik closed 2 weeks ago

mkadzik commented 2 months ago

I specify all 3 req args for custom vpc but terraform fails.

│ Error: Invalid index
│ 
│   on ../../coordinator-services-and-shared-libraries/operator/terraform/aws/applications/operator-service/main.tf line 205, in module "worker_service":
│  205:   dynamodb_vpc_endpoint_id = module.vpc[0].dynamodb_vpc_endpoint_id
│     ├────────────────
│     │ module.vpc is empty tuple
│ 
│ The given key does not identify an element in this collection value: the collection has no elements.
╵
╷
│ Error: Invalid index
│ 
│   on ../../coordinator-services-and-shared-libraries/operator/terraform/aws/applications/operator-service/main.tf line 206, in module "worker_service":
│  206:   s3_vpc_endpoint_id       = module.vpc[0].s3_vpc_endpoint_id
│     ├────────────────
│     │ module.vpc is empty tuple
│ 
│ The given key does not identify an element in this collection value: the collection has no elements.
clementsimon commented 1 month ago

Hi @mkadzik, thanks for reporting this issue. Could you please send the contents of your auto.tfvars and operator-service/main.tf files to aggregation-service-support@google.com so we can assist?

nlrussell commented 1 month ago

Hi @mkadzik, we didn't receive an email with the Terraform files, so assuming this one is resolved but feel free to reach out if not.