Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: verify aws region for aws installs has enough azs #1417

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

echoboomer
Copy link
Contributor

@echoboomer echoboomer commented Mar 31, 2023

❯ go run . aws create \
   --git-provider gitlab \
   --gitlab-group kubefirst/kubefirst.xyz \
   --cluster-name kubefirst-xyz \
   --alerts-email devops@kubefirst.io \
   --domain-name kubefirst.xyz \
   --cloud-region us-west-1
------------------------------------------------
Follow your logs in a new terminal with:
   tail -f -n +1 /Users/scott/.k1/logs/log_1680281122.log
------------------------------------------------
Error: aws region us-west-1 has 2 availability zones - kubefirst requires at least 3 - please select a different region

the following regions are compatible:

[ap-south-1 eu-north-1 eu-west-3 eu-west-2 eu-west-1 ap-northeast-3 ap-northeast-2 ap-northeast-1 ca-central-1 sa-east-1 ap-southeast-1 ap-southeast-2 eu-central-1 us-east-1 us-east-2 us-west-2]

Usage:
  kubefirst aws create [flags]

Flags:
      --alerts-email string             email address for let's encrypt certificate notifications (required)
      --cloud-region string             the aws region to provision infrastructure in (default "us-east-1")
      --cluster-name string             the name of the cluster to create (default "kubefirst")
      --cluster-type string             the type of cluster to create (i.e. mgmt|workload) (default "mgmt")
      --domain-name string              the Route53 hosted zone name to use for DNS records (i.e. your-domain.com|subdomain.your-domain.com) (required)
      --dry-run                         don't execute the installation
      --git-provider string             the git provider - one of: [github gitlab] (default "github")
      --github-org string               the GitHub organization for the new gitops and metaphor repositories - required if using github
      --gitlab-group string             the GitLab group for the new gitops and metaphor projects - required if using gitlab
      --gitops-template-branch string   the branch to clone for the gitops-template repository (default "main")
      --gitops-template-url string      the fully qualified url to the gitops-template repository to clone (default "https://github.com/kubefirst/gitops-template.git")
  -h, --help                            help for create
      --kbot-password string            the default password to use for the kbot user
      --use-telemetry                   whether to emit telemetry (default true)

exit status 1

@echoboomer echoboomer merged commit 221de40 into main Mar 31, 2023
4 checks passed
@echoboomer echoboomer deleted the feat-aws-az-check branch March 31, 2023 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants