File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -72,10 +72,11 @@ def services():
72
72
"gcloud" ,
73
73
"functions" ,
74
74
"deploy" ,
75
- f"helloworld-{ suffix } " ,
75
+ f"helloworld-fn- { suffix } " ,
76
76
"--project" ,
77
77
project ,
78
- "--runtime=python38" ,
78
+ "--gen2" ,
79
+ "--runtime=python312" ,
79
80
"--region=us-central1" ,
80
81
"--trigger-http" ,
81
82
"--no-allow-unauthenticated" ,
@@ -86,7 +87,7 @@ def services():
86
87
)
87
88
88
89
function_url = (
89
- f"https://us-central1-{ project } .cloudfunctions.net/helloworld-{ suffix } "
90
+ f"https://us-central1-{ project } .cloudfunctions.net/helloworld-fn- { suffix } "
90
91
)
91
92
92
93
token = subprocess .run (
@@ -117,7 +118,7 @@ def services():
117
118
"gcloud" ,
118
119
"functions" ,
119
120
"delete" ,
120
- f"helloworld-{ suffix } " ,
121
+ f"helloworld-fn- { suffix } " ,
121
122
"--project" ,
122
123
project ,
123
124
"--region=us-central1" ,
You can’t perform that action at this time.
0 commit comments