GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — User input validation by dtoki · Pull Request #57 · commitdev/zero-aws-eks-stack

Conversation

@dtoki

@dtoki dtoki commented Aug 5, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Related too commitdev/zero#226
Closes #56

My approach to updating only the environment variables in main.tf is not working yet. attempting to update the kubeconfig fails about 12 mins ⏰ in see log: 👇

module.production.module.eks.data.aws_eks_cluster_auth.cluster: Refreshing state...
module.production.module.eks.data.aws_eks_cluster.cluster: Refreshing state...
module.production.module.eks.module.eks.kubernetes_config_map.aws_auth[0]: Creating...
module.production.module.eks.module.eks.kubernetes_config_map.aws_auth[0]: Still creating... [10s elapsed]
module.production.module.eks.module.eks.kubernetes_config_map.aws_auth[0]: Creation complete after 15s [id=kube-system/aws-auth]
module.production.module.eks.module.eks.data.null_data_source.node_groups[0]: Refreshing state...

Apply complete! Resources: 75 added, 0 changed, 0 destroyed.
Releasing state lock. This may take a few moments...
aws eks --region us-west-2 update-kubeconfig --name dtoki-infra-006-production-us-west-2

An error occurred (ResourceNotFoundException) when calling the DescribeCluster operation: No cluster found for name: dtoki-infra-006-production-us-west-2.
make[1]: *** [update-k8s-conf] Error 254
make: *** [run] Error 2
2020/08/05 09:46:59 Executing command failed: exit status 2

cc @davidcheung have some insight on a tf template I might have missed that doesn't use the environment config in main.tf as input to run commands against the eks cluster?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dtoki
dtoki marked this pull request as ready for review August 5, 2020 21:56
@dtoki
dtoki requested review from bmonkman and davidcheung August 5, 2020 21:56
bmonkman
bmonkman approved these changes Aug 5, 2020
View reviewed changes
davidcheung
davidcheung reviewed Aug 6, 2020
View reviewed changes
Comment thread README.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

dtoki added 5 commits August 6, 2020 13:24
@dtoki
adds support for field validation
76cbb49
@dtoki
shorten appened cluster-name suffix
487a136
* production -> prod
* staging -> stage
@dtoki
update env
2eb8d4e
@dtoki
update readme
39778a9
@dtoki
shorten rds secret env
20c7a01
@dtoki
dtoki force-pushed the cmd-validate branch from 82bebc4 to 20c7a01 Compare August 6, 2020 22:50
@dtoki
dtoki merged commit 3e8852e into master Aug 6, 2020
@dtoki
dtoki deleted the cmd-validate branch August 6, 2020 23:23
bmonkman pushed a commit that referenced this pull request Oct 10, 2020
@dtoki
User input validation (#57)
5bb2976
* adds support for field validation

* shorten appended cluster-name suffix

* production -> prod

* staging -> stage

* update env

* update readme

* shorten rds secret env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers
@davidcheung davidcheung davidcheung left review comments
@bmonkman bmonkman bmonkman approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add validation to modules fields

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@dtoki @bmonkman @davidcheung
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.