diff --git a/templates/terraform/examples/secret_version_basic.tf.erb b/templates/terraform/examples/secret_version_basic.tf.erb index 7f161b2c5001..13a1a74c42dc 100644 --- a/templates/terraform/examples/secret_version_basic.tf.erb +++ b/templates/terraform/examples/secret_version_basic.tf.erb @@ -16,7 +16,7 @@ resource "google_secret_manager_secret" "secret-basic" { resource "google_secret_manager_secret_version" "<%= ctx[:primary_resource_id] %>" { provider = google-beta - secret = google_secret_manager_secret.secret-basic.name + secret = google_secret_manager_secret.secret-basic.id secret_data = "<%= ctx[:vars]['data'] %>" } diff --git a/third_party/terraform/website-compiled/google.erb b/third_party/terraform/website-compiled/google.erb index ed10da35a787..70e8a39dd62b 100644 --- a/third_party/terraform/website-compiled/google.erb +++ b/third_party/terraform/website-compiled/google.erb @@ -181,6 +181,11 @@ > google_project_organization_policy +<% unless version == 'ga' -%> + > + google_secret_manager_secret_version + +<% end -%> > google_service_account @@ -1271,6 +1276,29 @@ +<% unless version == 'ga' %> + > + Google Secret Manager Resources + + +<% end -%> + > Google Service Networking Resources