Skip to content

Commit

Permalink
fix test domain
Browse files Browse the repository at this point in the history
  • Loading branch information
emilymye committed Dec 30, 2019
1 parent b2ef5d7 commit 2d461ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions products/cloudrun/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides
primary_resource_id: "default"
vars:
cloud_run_service_name: "tftest-cloudrun"
test_custom_context:
verified_domain: "\"tftest-domainmapping.com\""
domain: "tf-test-cloudrun"
test_env_vars:
namespace: :PROJECT_NAME
custom_code: !ruby/object:Provider::Terraform::CustomCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resource "google_cloud_run_service" "<%= ctx[:primary_resource_id] %>" {

resource "google_cloud_run_domain_mapping" "<%= ctx[:primary_resource_id] %>" {
location = "us-central1"
name = "verified-domain.com"
name = "<%= ctx[:vars]["domain"] %>.gcp.tfacc.hashicorptest.com"

metadata {
namespace = "<%= ctx[:test_env_vars]['namespace'] %>"
Expand Down

0 comments on commit 2d461ba

Please sign in to comment.