Skip to content

Commit

Permalink
Add region tags to no-auth Cloud Run example (#6246) (#4477)
Browse files Browse the repository at this point in the history
* Add region tags to no-auth Cloud Run example

* Add separate tags for IAM-policy-specific stuff

* Fix region tag names

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Jul 12, 2022
1 parent d26c739 commit e67b637
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .changelog/6246.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
2 changes: 2 additions & 0 deletions google-beta/resource_cloud_run_service_generated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ func TestAccCloudRunService_cloudRunServiceNoauthExample(t *testing.T) {

func testAccCloudRunService_cloudRunServiceNoauthExample(context map[string]interface{}) string {
return Nprintf(`
# Example of how to deploy a publicly-accessible Cloud Run application
resource "google_cloud_run_service" "default" {
name = "tf-test-cloudrun-srv%{random_suffix}"
location = "us-central1"
Expand Down
2 changes: 2 additions & 0 deletions website/docs/r/cloud_run_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ resource "google_sql_database_instance" "instance" {


```hcl
# Example of how to deploy a publicly-accessible Cloud Run application
resource "google_cloud_run_service" "default" {
name = "cloudrun-srv"
location = "us-central1"
Expand Down

0 comments on commit e67b637

Please sign in to comment.