service_account_name is set to null on terraform import for bigquery transfer config #12483
Labels
forward/linked
persistent-bug
Hard to diagnose or long lived bugs for which resolutions are more like feature work than bug work
service/bigquery
size/s
Milestone
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
google_bigquery_data_transfer_config
Expected Behavior
In resulting state file, location should be set appropriately - for eg. "service_account_name" : bq-transfer-sa@<PROJECT_ID>dev.iam.gserviceaccount.com
Actual Behavior
After import, service account name in state is set to null: "service_account_name": null
This causes an issue, as now terraform plan shows it would need to recreate the resource:
Steps to Reproduce
create resource google_bigquery_data_transfer_config with service account specified
import resource google_bigquery_data_transfer_config
terraform plan
b/321386847
The text was updated successfully, but these errors were encountered: