sparse-intern-71089
11/30/2021, 6:59 PMprehistoric-activity-61023
11/30/2021, 7:01 PMprehistoric-activity-61023
11/30/2021, 7:02 PMprehistoric-activity-61023
11/30/2021, 7:02 PMprehistoric-activity-61023
11/30/2021, 7:03 PMfast-easter-23401
11/30/2021, 7:09 PMprehistoric-activity-61023
11/30/2021, 7:11 PMprehistoric-activity-61023
11/30/2021, 7:11 PMgreen-school-95910
11/30/2021, 7:11 PMgreen-school-95910
11/30/2021, 7:30 PMproject
field out of the return of the API. If it does not exist it falls back to the provider value. If the provider does not have a project ID it fails with the message you sent.
Problem is, the method it uses on the API does not include a project
field on the response. So importing only works for pubsub subscriptions on the project set on the provider. It could get it from the resource path you are trying to import, but it doesn't. You can open an issue on Terraform's google-beta provider for that.prehistoric-activity-61023
11/30/2021, 7:31 PMprehistoric-activity-61023
11/30/2021, 7:31 PMgreen-school-95910
11/30/2021, 7:31 PMprehistoric-activity-61023
11/30/2021, 7:32 PMimport
commandgreen-school-95910
11/30/2021, 7:33 PMgreen-school-95910
11/30/2021, 7:33 PMprehistoric-activity-61023
11/30/2021, 7:33 PMprehistoric-activity-61023
11/30/2021, 7:34 PMprehistoric-activity-61023
11/30/2021, 7:34 PMprehistoric-activity-61023
11/30/2021, 7:35 PMGOOGLE_PROJECT=use-this-you-blind-import-command pulumi import ...
😉green-school-95910
11/30/2021, 7:36 PMprehistoric-activity-61023
11/30/2021, 7:36 PMfast-easter-23401
11/30/2021, 7:37 PMprehistoric-activity-61023
11/30/2021, 7:37 PMprehistoric-activity-61023
11/30/2021, 7:37 PMpulum import
with --provider
flag)prehistoric-activity-61023
11/30/2021, 7:38 PMfast-easter-23401
11/30/2021, 7:41 PMfast-easter-23401
11/30/2021, 7:44 PM