Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add scheduleOptions to google_bigquery_data_transfer_config resource #4670

Comments

@riccsnet
Copy link

Current Terraform Version

Terraform v0.12.10
+ provider.google v2.17.0
+ provider.google-beta v2.17.0
+ provider.null v2.1.2

Use-cases

I would like to set the schedule for the data transfer to none. It appear that there is the setting in the api that does this. If you run a bq show --transfer-config on a data transfer where the schedule is set do none you will find the scheduleOption attribute.

 bq show --transfer_config  projects/98182253452/locations/us/transferConfigs/5e44dfda-0000-203a-b1b8-089e0825b7c4
Transfer config projects/98182253452/locations/us/transferConfigs/5e44dfda-0000-203a-b1b8-089e0825b7c4

          updateTime            destinationDatasetId       displayName       datasetRegion          userId                  **scheduleOptions**              state       dataSourceId                                                                       params                                                                    
 ----------------------------- ---------------------- --------------------- --------------- ---------------------- ---------------------------------- ----------- ------------------- ------------------------------------------------------------------------------------------------------------------------------------------- 
  2019-10-13T02:55:38.699944Z   curated_acp            Copy of curated_acp   us              -5535439132150214661   **{u'disableAutoScheduling': True}**   SUCCEEDED   cross_region_copy   {u'overwrite_destination_table': True, u'source_dataset_id': u'curated_stage_acp', u'source_project_id': u'z4311-473f-ab6b-5c883e18e494'}  

Attempted Solutions

I am unsure of how to go about attempting a solution.

Proposal

Sorry I do not have any idea how to address this. I have very little experience with go, but if you need to dig into it I can try.

References

@ghost ghost added the enhancement label Oct 14, 2019
@pocket7878
Copy link

pocket7878 commented Oct 23, 2019

I'll try to add scheduleOptions option into magic-modules.
GoogleCloudPlatform/magic-modules#2507

@ghost
Copy link

ghost commented Nov 26, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Nov 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.