Skip to content

Commit

Permalink
fix: data sources
Browse files Browse the repository at this point in the history
  • Loading branch information
wai-wong-edb committed Nov 25, 2024
1 parent 117837c commit 27d7f9d
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ output "backup_retention_period" {
value = data.biganimal_analytics_cluster.this.backup_retention_period
}

output "backup_schedule_time" {
value = data.biganimal_analytics_cluster.this.backup_schedule_time
}

output "cluster_name" {
value = data.biganimal_analytics_cluster.this.cluster_name
}
Expand Down
4 changes: 4 additions & 0 deletions examples/data-sources/biganimal_cluster/data-source.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ output "backup_retention_period" {
value = data.biganimal_cluster.this.backup_retention_period
}

output "backup_schedule_time" {
value = data.biganimal_cluster.this.backup_schedule_time
}

output "cluster_name" {
value = data.biganimal_cluster.this.cluster_name
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ output "backup_retention_period" {
value = data.biganimal_faraway_replica.this.backup_retention_period
}

output "backup_schedule_time" {
value = data.biganimal_faraway_replica.this.backup_schedule_time
}

output "cluster_name" {
value = data.biganimal_faraway_replica.this.cluster_name
}
Expand Down
1 change: 1 addition & 0 deletions pkg/provider/data_source_analytics_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ func (r *analyticsClusterDataSource) Schema(ctx context.Context, req datasource.
},
},
},
"backup_schedule_time": ResourceBackupScheduleTime,
},
}
}
Expand Down
1 change: 1 addition & 0 deletions pkg/provider/data_source_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ func (c *clusterDataSource) Schema(ctx context.Context, req datasource.SchemaReq
MarkdownDescription: "Cluster connection service name.",
Computed: true,
},
"backup_schedule_time": ResourceBackupScheduleTime,
},
}
}
Expand Down
1 change: 1 addition & 0 deletions pkg/provider/data_source_fareplica.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ func (c *FAReplicaData) Schema(ctx context.Context, req datasource.SchemaRequest
},
},
},
"backup_schedule_time": ResourceBackupScheduleTime,
},
}
}
Expand Down

0 comments on commit 27d7f9d

Please sign in to comment.