You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
How can I use pub sub topics in google_secret_manager as it seems cannot recognize the topics block? I am trying to implement the following link: https://cloud.google.com/secret-manager/docs/event-notifications#add_topics
resource "google_secret_manager_secret" "secret_1" {
secret_id = "secret_1"
project = var.project_id
replication {
user_managed {
replicas {
location = var.region
}
}
}
topics {
name = google_pubsub_topic.token_topic.id
}
}
Error: Unsupported block type
on functions.tf line 126, in resource "google_secret_manager_secret" "regtoken_secret_1":
126: topics {
Blocks of type "topics" are not expected here.
The text was updated successfully, but these errors were encountered: