Skip to content

Commit

Permalink
Add ecr preflight checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Diana Doherty committed Mar 15, 2023
1 parent e2e4bd7 commit af1583a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -13,7 +13,7 @@ require (
github.com/manifoldco/promptui v0.9.0
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/meroxa/meroxa-go v0.0.0-20230223202938-b5c515d4d643
github.com/meroxa/meroxa-go v0.0.0-20230315194850-592ac99b220c
github.com/nirasan/go-oauth-pkce-code-verifier v0.0.0-20170819232839-0fbfe93532da
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4
github.com/rivo/uniseg v0.2.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Expand Up @@ -536,8 +536,8 @@ github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lL
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4=
github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY=
github.com/meroxa/meroxa-go v0.0.0-20230223202938-b5c515d4d643 h1:2dqnY1xQyAoS54qLmg2Ho1VYcqd2PNWNTHRn1iXpIH8=
github.com/meroxa/meroxa-go v0.0.0-20230223202938-b5c515d4d643/go.mod h1:OdTP4P/yHcTAqOE86kDXoTTLqC1Vj+/PFMG41kOcmhI=
github.com/meroxa/meroxa-go v0.0.0-20230315194850-592ac99b220c h1:4fptlftN/w5zaPHI4X+cFZxcMZCDhuqlH/VTYGCIu4s=
github.com/meroxa/meroxa-go v0.0.0-20230315194850-592ac99b220c/go.mod h1:+w11KsQtYKTUwCDRJb2RBqTjmr3OMYP6PMJcP+hCjD0=
github.com/meroxa/turbine-core v0.0.0-20230113145603-c7b1554653fa h1:addv/qyR+R6fqHBrJMf4sLp52BAfk4rf88f58aul1hw=
github.com/meroxa/turbine-core v0.0.0-20230113145603-c7b1554653fa/go.mod h1:zhJZykOx6X/L2OKNv8a2P0w7LrwXv3nLh0BLIzfrUh8=
github.com/meroxa/turbine-go v1.0.0 h1:5/mLoRbtdefpcC35fG3YZioz1qgrlaHOKh56n2hJ9lQ=
Expand Down
8 changes: 8 additions & 0 deletions utils/display/environments.go
Expand Up @@ -105,6 +105,10 @@ func EnvironmentTable(environment *meroxa.Environment) string {
{Align: simpletable.AlignRight, Text: "AWS EC2 Permissions Status:"},
{Text: strings.Join(environment.Status.PreflightDetails.PreflightPermissions.EC2, " ; ")},
},
{
{Align: simpletable.AlignRight, Text: "AWS ECR Permissions Status:"},
{Text: strings.Join(environment.Status.PreflightDetails.PreflightPermissions.ECR, " ; ")},
},
{
{Align: simpletable.AlignRight, Text: "AWS EKS Permissions Status:"},
{Text: strings.Join(environment.Status.PreflightDetails.PreflightPermissions.EKS, " ; ")},
Expand Down Expand Up @@ -169,6 +173,10 @@ func EnvironmentPreflightTable(environment *meroxa.Environment) string {
{Align: simpletable.AlignRight, Text: "AWS EC2 Permissions Status:"},
{Text: strings.Join(environment.Status.PreflightDetails.PreflightPermissions.EC2, " ; ")},
},
{
{Align: simpletable.AlignRight, Text: "AWS ECR Permissions Status:"},
{Text: strings.Join(environment.Status.PreflightDetails.PreflightPermissions.ECR, " ; ")},
},
{
{Align: simpletable.AlignRight, Text: "AWS EKS Permissions Status:"},
{Text: strings.Join(environment.Status.PreflightDetails.PreflightPermissions.EKS, " ; ")},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Expand Up @@ -196,7 +196,7 @@ github.com/mattn/go-runewidth
# github.com/mattn/go-shellwords v1.0.12
## explicit; go 1.13
github.com/mattn/go-shellwords
# github.com/meroxa/meroxa-go v0.0.0-20230223202938-b5c515d4d643
# github.com/meroxa/meroxa-go v0.0.0-20230315194850-592ac99b220c
## explicit; go 1.17
github.com/meroxa/meroxa-go/pkg/meroxa
github.com/meroxa/meroxa-go/pkg/mock
Expand Down

0 comments on commit af1583a

Please sign in to comment.