File tree 2 files changed +10
-8
lines changed
google-beta/services/workflows
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change
1
+ ```release-note:none
2
+
3
+ ```
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import (
15
15
)
16
16
17
17
func TestAccWorkflowsWorkflow_Update (t * testing.T ) {
18
- // Custom test written to test diffs
19
18
t .Parallel ()
20
19
21
20
workflowName := fmt .Sprintf ("tf-test-acc-workflow-%d" , acctest .RandInt (t ))
@@ -46,7 +45,7 @@ resource "google_workflows_workflow" "example" {
46
45
url = "https://timeapi.io/api/Time/current/zone?timeZone=Europe/Amsterdam"
47
46
}
48
47
deletion_protection = false
49
- tags = {
48
+ labels = {
50
49
env = "test"
51
50
}
52
51
source_contents = <<-EOF
@@ -85,14 +84,14 @@ func testAccWorkflowsWorkflow_Updated(name string) string {
85
84
resource "google_workflows_workflow" "example" {
86
85
name = "%s"
87
86
region = "us-central1"
88
- description = "Magic"
89
- call_log_level = "LOG_ERRORS_ONLY "
87
+ description = "Magic-updated "
88
+ call_log_level = "LOG_ALL_CALLS "
90
89
user_env_vars = {
91
- url = "https://timeapi.io/api/Time/current/zone?timeZone=Europe/Amsterdam "
90
+ url = "https://timeapi.io/api/Time/current/zone?timeZone=Europe/London "
92
91
}
93
92
deletion_protection = false
94
- tags = {
95
- env = "test "
93
+ labels = {
94
+ env = "updated "
96
95
}
97
96
source_contents = <<-EOF
98
97
# This is a sample workflow, feel free to replace it with your source code
@@ -110,7 +109,7 @@ resource "google_workflows_workflow" "example" {
110
109
args:
111
110
url: $${sys.get_env("url")}
112
111
result: CurrentDateTime
113
- - readWikipedia :
112
+ - readWikipediaUpdated :
114
113
call: http.get
115
114
args:
116
115
url: https:/fi.wikipedia.org/w/api.php
You can’t perform that action at this time.
0 commit comments