get_project_service_account on the storage module ...
# google-cloud
d
get_project_service_account on the storage module is not working anymore?
m
What versions of
pulumi
and
pulumi_gcp
PyPi packages are you using?
d
2.10.1 for pulumi
and pulumi_gcp let me see
3.21.0
m
Does it work for the latest
pulumi_gcp
3.24.0? I just tried
pulumi
2.10.1 and
pulumi_gcp
3.24.0 and it’s working for me.
d
let me try
it is still failing
Step #12 - “Pulumi Create Stack”: exec(code, run_globals) Step #12 - “Pulumi Create Stack”: File “./__main__.py”, line 88, in <module> Step #12 - “Pulumi Create Stack”: opts=ResourceOptions(depends_on=[ephemeral_project.project, registry_access]), Step #12 - “Pulumi Create Stack”: File “./barchart_service.py”, line 72, in init Step #12 - “Pulumi Create Stack”: parent=self, Step #12 - “Pulumi Create Stack”: File “./pulumi_utils/storage/bucket_with_notification.py”, line 57, in init Step #12 - “Pulumi Create Stack”: opts=opts, Step #12 - “Pulumi Create Stack”: File “/usr/local/lib/python3.7/site-packages/pulumi_gcp/storage/get_project_service_account.py”, line 96, in get_project_service_account Step #12 - “Pulumi Create Stack”: email_address=ret.email_address, Step #12 - “Pulumi Create Stack”: AttributeError: ‘dict’ object has no attribute ‘email_address’ Step #12 - “Pulumi Create Stack”: error: an unhandled error occurred: Program exited with non-zero exit code: 1
what sort of environment variables or changes I should do to get more logging? TF_TRACE=DEBUG wasn’t working for me last time
m
What does the call to
get_project_service_account
look like? Are you passing any arguments?
d
project_service_account = storage.get_project_service_account( project=args.gcp_project.new_project_id, opts=opts, )
it might be that the API is answering with a code or error that the terraform provider or pulumi are not itnerpreting correctly
if you have any hint on how to get more verbose logging I will follow up