We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33cd1e6 commit b0f745dCopy full SHA for b0f745d
backupdr/data_source_references/main.tf
@@ -1,5 +1,4 @@
1
data "google_backup_dr_data_source_references" "my_sql_references" {
2
- provider = google-beta
3
location = "us-central1"
4
resource_type = "sqladmin.googleapis.com/Instance"
5
}
backupdr/fetch_backup_plan_associations/main.tf
@@ -0,0 +1,8 @@
+data "google_backup_dr_backup_plan_associations" "my_bpas" {
+ location = "us-central1"
+ resource_type = "sqladmin.googleapis.com/Instance"
+}
+
6
+output "bpa_names" {
7
+ value = [for bpa in data.google_backup_dr_backup_plan_associations.my_bpas.associations : bpa.name]
8
0 commit comments