File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
fetch_backup_plan_associations Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- data "google_backup_dr_data_source_references" "my_sql_references " {
1+ data "google_backup_dr_data_source_references" "all_csql_data_source_references " {
22 location = " us-central1"
33 resource_type = " sqladmin.googleapis.com/Instance"
44}
55
6- output "first_sql_reference_name " {
7- value = data. google_backup_dr_data_source_references . my_sql_references . data_source_references [ 0 ] . name
6+ output "csql_data_source_references " {
7+ value = data. google_backup_dr_data_source_references . all_csql_data_source_references . data_source_references
88}
Original file line number Diff line number Diff line change 1- data "google_backup_dr_backup_plan_associations" "my_bpas " {
1+ data "google_backup_dr_backup_plan_associations" "csql_bpas " {
22 location = " us-central1"
33 resource_type = " sqladmin.googleapis.com/Instance"
44}
55
6- output "bpa_names " {
7- value = [ for bpa in data . google_backup_dr_backup_plan_associations . my_bpas . associations : bpa . name ]
6+ output "csql_bpas " {
7+ backup_plan_associations = google_backup_dr_backup_plan_associations. csql_bpas
88}
You can’t perform that action at this time.
0 commit comments