Title: [bug] when project name has dashes, db-application-user isnt correctly created · Issue #220 · commitdev/zero · GitHub
Open Graph Title: [bug] when project name has dashes, db-application-user isnt correctly created · Issue #220 · commitdev/zero
X Title: [bug] when project name has dashes, db-application-user isnt correctly created · Issue #220 · commitdev/zero
Description: reason: the script made an assumption projectName and DB_NAME is the same, which isn't the case because dashes get stripped out from the DB_NAME, the query --query "DBInstances[?DBName=='$PROJECT_NAME'] breaks when name includes dashes h...
Open Graph Description: reason: the script made an assumption projectName and DB_NAME is the same, which isn't the case because dashes get stripped out from the DB_NAME, the query --query "DBInstances[?DBName=='$PROJECT_N...
X Description: reason: the script made an assumption projectName and DB_NAME is the same, which isn't the case because dashes get stripped out from the DB_NAME, the query --query "DBInstances[?DBName==...
Opengraph URL: https://github.com/commitdev/zero/issues/220
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[bug] when project name has dashes, db-application-user isnt correctly created","articleBody":"reason: the script made an assumption projectName and DB_NAME is the same, which isn't the case\n\nbecause dashes get stripped out from the `DB_NAME`, the query ` --query \"DBInstances[?DBName=='$PROJECT_NAME']` breaks when name includes dashes \nhttps://github.com/commitdev/zero-deployable-backend/blob/master/db-ops/create-db-user.sh#L6\n\nproblems:\n- [ ] DB_ENDPOINT becomes null from the query in shell script\n- [ ] DBNAME is also needed to connect to db in the kube deployment manifest\n- [ ] .sql file also needs the DB_NAME i believe","author":{"url":"https://github.com/davidcheung","@type":"Person","name":"davidcheung"},"datePublished":"2020-07-30T18:42:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/220/zero/issues/220"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4715b308-f062-e7ed-dde9-5e6a9fada35c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9572:20797:FC322:160A9F:6981E0C1 |
| html-safe-nonce | 33c8de92e7299421f816980393514b60c76215eca9d0f6d046ea70c826c7c709 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTcyOjIwNzk3OkZDMzIyOjE2MEE5Rjo2OTgxRTBDMSIsInZpc2l0b3JfaWQiOiI3MTM5NzEzMDQ3NzUyNDY2NjI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0dff4c778735b627431d936a5a95b0d65550afc825c8145ebbbd9cffcc1e7eda |
| hovercard-subject-tag | issue:669075029 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitdev/zero/220/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8ba4e6e3b9db97c68e85128f6fc2a9989c59bf83d7f2c2e166dd11529da07ed1/commitdev/zero/issues/220 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8ba4e6e3b9db97c68e85128f6fc2a9989c59bf83d7f2c2e166dd11529da07ed1/commitdev/zero/issues/220 |
| og:image:alt | reason: the script made an assumption projectName and DB_NAME is the same, which isn't the case because dashes get stripped out from the DB_NAME, the query --query "DBInstances[?DBName=='$PROJECT_N... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidcheung |
| hostname | github.com |
| expected-hostname | github.com |
| None | ebfdf8d3e0fd17b103f41cc6696d84938694ebebdfecaf11fe00dbe4a9785801 |
| turbo-cache-control | no-preview |
| go-import | github.com/commitdev/zero git https://github.com/commitdev/zero.git |
| octolytics-dimension-user_id | 44272088 |
| octolytics-dimension-user_login | commitdev |
| octolytics-dimension-repository_id | 203630543 |
| octolytics-dimension-repository_nwo | commitdev/zero |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 203630543 |
| octolytics-dimension-repository_network_root_nwo | commitdev/zero |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 471ae8701b77c1bf177c58019d2e6fd65ae89141 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width