Closed ydennisy closed 5 months ago
Hi @ydennisy ,
Can you check if you updated your <environment>.auto.tfvars
file with the user_provided_worker_sa_email
?
if not, please include the following below:
user_provided_worker_sa_email = "<updated with your worker service account email>"
hey @maybellineboon - thank you so much for your reply!
This has worked, but I just want to mention that I copied the demo/example.auto.tfvars and this does not contain this value, so I think it would be worth updating or you may get a few more issues, unless I missed some instruction elsewhere?
demo/example.auto.tfvars
# Example values required by job_service.tf
#
# These values should be modified for each of your environments.
region = "us-central1"
region_zone = "us-central1-c"
project_id = "<YourProjectID>"
environment = "operator-demo-env"
# Co-locate your Cloud Spanner instance configuration with the region above.
# https://cloud.google.com/spanner/docs/instance-configurations#regional-configurations
spanner_instance_config = "regional-us-central1"
# Adjust this based on the job load you expect for your deployment.
# Monitor the spanner instance utilization to decide on scale out / scale in.
# https://console.cloud.google.com/spanner/instances
spanner_processing_units = 100
instance_type = "n2d-standard-8" # 8 cores, 32GiB
# Container image location that packages the job service application
# If not set otherwise, uncomment and edit the line below:
#worker_image = "<location>/<project>/<repository>/<image>:<tag or digest>"
# Coordinator service accounts to impersonate for authorization and authentication
# If not set otherwise, uncomment and edit the lines below:
#coordinator_a_impersonate_service_account = "<CoordinatorAServiceAccountEmail>"
#coordinator_b_impersonate_service_account = "<CoordinatorBServiceAccountEmail>"
Hi @ydennisy ,
There was no miss on your end.
We've noticed that the terraform file was missing that field. We've gone ahead and requested to update the terraform file and it is in process.
ok thanks @maybellineboon I will close the issue in that case - thanks very much for your help!
Hello!
I am following the guide outlined here: https://github.com/privacysandbox/aggregation-service/blob/main/docs/gcp-aggregation-service.md#adtech-setup-terraform
And I am now at the stage where I am trying to deploy the individual environments:
However I am faced with this error:
I am new to terraform and have not been able to find a way to log the value of
serviceAccount:${var.worker_service_account}
&serviceAccount:${local.worker_service_account_email}
.Any help here would be greatly appreciated!
EDIT: The below seems to show that TF state does correctly store the two service accounts created in the
adtech_setup
step.