Skip to content

Commit

Permalink
Fix test domain for Cloud Run Domain Mapping
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
emilymye authored and modular-magician committed Dec 30, 2019
1 parent 861a4f3 commit 8071671
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions google/resource_cloud_run_domain_mapping_generated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ func TestAccCloudRunDomainMapping_cloudRunDomainMappingBasicExample(t *testing.T
t.Parallel()

context := map[string]interface{}{
"namespace": getTestProjectFromEnv(),
"verified_domain": "tftest-domainmapping.com",
"random_suffix": acctest.RandString(10),
"namespace": getTestProjectFromEnv(),
"random_suffix": acctest.RandString(10),
}

resource.Test(t, resource.TestCase{
Expand Down Expand Up @@ -73,7 +72,7 @@ resource "google_cloud_run_service" "default" {
resource "google_cloud_run_domain_mapping" "default" {
location = "us-central1"
name = "%{verified_domain}"
name = "tf-test-cloudrun%{random_suffix}.gcp.tfacc.hashicorptest.com"
metadata {
namespace = "%{namespace}"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/cloud_run_domain_mapping.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ resource "google_cloud_run_service" "default" {
resource "google_cloud_run_domain_mapping" "default" {
location = "us-central1"
name = "verified-domain.com"
name = "tf-test-cloudrun.gcp.tfacc.hashicorptest.com"
metadata {
namespace = "my-project-name"
Expand Down

0 comments on commit 8071671

Please sign in to comment.