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

Include next steps for after addressing preflight error #606

Merged
merged 1 commit into from Jan 30, 2023

Conversation

dianadoherty
Copy link
Contributor

Description of change

Include next steps for after addressing preflight error

Fixes https://github.com/meroxa/platform-api/issues/1618

Type of change

  • New feature
  • Bug fix
  • Refactor
  • Documentation

How was this tested?

  • Unit Tests
  • Tested in staging
  • Tested in minikube

Demo

Before

Environment "aws-test" could not be provisioned because it failed the preflight checks
                      Preflight Checks:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
            AWS EC2 Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
            AWS EKS Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
            AWS IAM Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
            AWS KMS Permissions Status:   missing permission for kms:ListResourceTags on *                                                                                                                                                                                                                                                                                                                                                                                                                               
            AWS MKS Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
             AWS S3 Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
  AWS ServiceQuotas Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
 AWS CloudFormation Permissions Status:   missing permission for cloudformation:DescribeStackEvents on arn:aws:cloudformation:*:*:stack/meroxa-vpc-*/* ; missing permission for cloudformation:DescribeStackEvents on arn:aws:cloudformation:*:*:stack/meroxa-eks-*/* ; missing permission for cloudformation:DescribeStackEvents on arn:aws:cloudformation:*:*:stack/meroxa-deploy-custom-eks-resource/* ; missing permission for cloudformation:DescribeStackEvents on arn:aws:cloudformation:*:*:stack/meroxa-msk-*/* 
     AWS Cloudwatch Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                 AWS EIP Limits Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                 AWS NAT Limits Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                 AWS VPC Limits Status:   success                                                                                                                                                                              

After

Environment "aws-test2" could not be provisioned because it failed the preflight checks
                      Preflight Checks:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
            AWS EC2 Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
            AWS EKS Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
            AWS IAM Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
            AWS KMS Permissions Status:   missing permission for kms:ListResourceTags on *                                                                                                                                                                                                                                                                                                                                                                                                                               
            AWS MKS Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
             AWS S3 Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
  AWS ServiceQuotas Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
 AWS CloudFormation Permissions Status:   missing permission for cloudformation:DescribeStackEvents on arn:aws:cloudformation:*:*:stack/meroxa-vpc-*/* ; missing permission for cloudformation:DescribeStackEvents on arn:aws:cloudformation:*:*:stack/meroxa-eks-*/* ; missing permission for cloudformation:DescribeStackEvents on arn:aws:cloudformation:*:*:stack/meroxa-deploy-custom-eks-resource/* ; missing permission for cloudformation:DescribeStackEvents on arn:aws:cloudformation:*:*:stack/meroxa-msk-*/* 
     AWS Cloudwatch Permissions Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                 AWS EIP Limits Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                 AWS NAT Limits Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                 AWS VPC Limits Status:   success                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
After adding the missing permissions run: `meroxa environments repair environment_name_or_uuid

Additional references

Documentation updated

@dianadoherty dianadoherty marked this pull request as ready for review January 27, 2023 22:03
@dianadoherty dianadoherty merged commit 0d8aba1 into master Jan 30, 2023
@dianadoherty dianadoherty deleted the env-preflight-err-steps branch January 30, 2023 17:32
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