Title: Validate project name during "zero apply" · Issue #447 · commitdev/zero · GitHub
Open Graph Title: Validate project name during "zero apply" · Issue #447 · commitdev/zero
X Title: Validate project name during "zero apply" · Issue #447 · commitdev/zero
Description: I received several errors during zero apply. It appears that the project name that I chose (0play) should be validated to not accept names that start with a numeral. It appears that some AWS resources do not like names starting with a nu...
Open Graph Description: I received several errors during zero apply. It appears that the project name that I chose (0play) should be validated to not accept names that start with a numeral. It appears that some AWS resour...
X Description: I received several errors during zero apply. It appears that the project name that I chose (0play) should be validated to not accept names that start with a numeral. It appears that some AWS resour...
Opengraph URL: https://github.com/commitdev/zero/issues/447
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Validate project name during \"zero apply\"","articleBody":"I received several errors during `zero apply`. It appears that the project name that I chose (`0play`) should be validated to not accept names that start with a numeral. It appears that some AWS resources do not like names starting with a numeric.\r\n\r\nOriginally, I thought the issue was the domain that I registered (`0play-stage.click`).\r\n\r\n**Error**: invalid value for replication_group_id (must begin with a letter)\r\n```\r\n│\r\n│ with module.stage.module.cache[0].module.redis[0].aws_elasticache_replication_group.default[0],\r\n│ on .terraform/modules/stage.cache.redis/main.tf line 83, in resource \"aws_elasticache_replication_group\" \"default\":\r\n│ 83: replication_group_id = var.replication_group_id == \"\" ? module.this.id : var.replication_group_id\r\n```\r\n\r\n**Error**: invalid value for domain_name (must start with a lowercase alphabet and be at least 3 and no more than 28 characters long. Valid characters are a-z (lowercase letters), 0-9, and - (hyphen).)\r\n```\r\n│ with module.stage.module.logging[0].module.elasticsearch.aws_elasticsearch_domain.default[0],\r\n│ on .terraform/modules/stage.logging.elasticsearch/main.tf line 102, in resource \"aws_elasticsearch_domain\" \"default\":\r\n│ 102: domain_name = module.this.id\r\n```\r\n\r\n**Error**: first character of \"name_prefix\" must be a letter\r\n```\r\n│ with module.stage.module.db[0].module.rds_postgres[0].module.db_option_group.aws_db_option_group.this[0],\r\n│ on .terraform/modules/stage.db.rds_postgres/modules/db_option_group/main.tf line 4, in resource \"aws_db_option_group\" \"this\":\r\n│ 4: name_prefix = var.name_prefix\r\n```\r\n\r\n**Error**: first character of parameter group \"name_prefix\" must be a letter\r\n```\r\n│ with module.stage.module.db[0].module.rds_postgres[0].module.db_parameter_group.aws_db_parameter_group.this[0],\r\n│ on .terraform/modules/stage.db.rds_postgres/modules/db_parameter_group/main.tf line 36, in resource \"aws_db_parameter_group\" \"this\":\r\n│ 36: name_prefix = var.name_prefix\r\n│\r\n╵\r\nmake[1]: *** [apply-env] Error 1\r\nmake: *** [make-apply] Error 2\r\n2022/01/19 14:18:20 Module Apply failed: Module (zero-aws-eks-stack)\r\n```\r\n","author":{"url":"https://github.com/aspcanada","@type":"Person","name":"aspcanada"},"datePublished":"2022-01-19T22:29:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/447/zero/issues/447"}
| 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:e507f5a5-40c9-e64d-65bd-2aa8a80cca11 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C888:8989A:20B4EA:2A964E:6981332B |
| html-safe-nonce | f07f0a7382268a0e33458f1226b0b691705181fb1cca28935f3706b67d96c63e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODg4Ojg5ODlBOjIwQjRFQToyQTk2NEU6Njk4MTMzMkIiLCJ2aXNpdG9yX2lkIjoiNDExMTM0MjEyNTcxNzczMDA5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cdf8d758ef8f1114713e044e5facd14380eaaa4532e874ec6d5b80df247ce235 |
| hovercard-subject-tag | issue:1108624226 |
| 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/447/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3ea76ba7e31d964d89b0254de25346847b461314a3b838d91f558e6d9c53e64a/commitdev/zero/issues/447 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3ea76ba7e31d964d89b0254de25346847b461314a3b838d91f558e6d9c53e64a/commitdev/zero/issues/447 |
| og:image:alt | I received several errors during zero apply. It appears that the project name that I chose (0play) should be validated to not accept names that start with a numeral. It appears that some AWS resour... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aspcanada |
| hostname | github.com |
| expected-hostname | github.com |
| None | 39fe8101494cbb823c09b619b68c80cd4d05ab7279997038dbe06bb91608abe1 |
| 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 | d5b34a4e4898b066c629879feb4b184bc471d6a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width