Skip to content

Commit

Permalink
Update gcp-resource-tag.js
Browse files Browse the repository at this point in the history
Signed-off-by: Zac Rosenbauer <zac@joggr.io>
  • Loading branch information
zrosenbauer authored Mar 14, 2024
1 parent 1306e37 commit cafd0a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/gcp-resource-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = async ({ exec, env }) => {
'bindings',
'create',
`--tag-value=${gcpTag}`,
`--parent=//run.googleapis.com/projects/${gcpProjectId}/locations/${gcpRegion}/services/${serviceName}`
`--parent=//run.googleapis.com/projects/${gcpProjectId}/locations/${gcpRegion}/services/${serviceName}`,
`--location=${gcpRegion}`,
]);
} catch (error) {
Expand All @@ -40,8 +40,8 @@ module.exports = async ({ exec, env }) => {
'services',
'add-iam-policy-binding',
serviceName,
`--member=allUsers`,
`--role=roles/run.invoker`,
'--member=allUsers',
'--role=roles/run.invoker',
`--region=${gcpRegion}`,
]);
}

0 comments on commit cafd0a0

Please sign in to comment.