-
Notifications
You must be signed in to change notification settings - Fork 54
AB#2579 Add constellation iam create command #624
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
Conversation
✅ Deploy Preview for constellation-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some early feedback. Great code quality! 🦤
a53712d
to
f704664
Compare
c5a7867
to
600b570
Compare
Can you please fix the linter warnings first before I review? :) |
a4ce146
to
72188e2
Compare
Regarding the "Check licenses" step, can you add this as the header to each of the file reported in there (= new *.go files created as part of your PR)? /*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
Then the check should pass. |
fea7b7d
to
1487b99
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall good work! Regarding change requests nothing too major.
c86a7a8
to
4a547b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last change request from my side. Otherwise looking good.
4a547b3
to
fed133d
Compare
fed133d
to
cdbfa0a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to agree with @katexochen , great code quality!
@stdoutput could you rebase on main? |
cdbfa0a
to
61f3878
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 🦭
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Proposed change(s)
constellation iam create
command to the Constellation CLI, automatically sets up the required IAM configuration based on the paramters supplied by the user by using Terraform scripts.constellation-conf.yml
that need to be filled in by the user.Additional info
GCP
constellation iam create gcp
zone
: Required. GCP zone you want to create the configuration in.serviceAccountID
: Required. ID for the service account that will be created. Must match^[a-z](?:[-a-z0-9]{4,28}[a-z0-9])$
projectID
: Required. ID of the GCP project the configuration will be created in.yes
: Skips confirmation steps.AWS
constellation iam create aws
zone
: Required. AWS availability zone you want to create the configuration in.prefix
: Required. Name prefix which will be used to create the IAM resources.yes
: Skips confirmation steps.Azure
constellation iam create azure
region
: Required. Azure region you want to create the configuration in.resourceGroup
: Required. Name of the resource group the IAM resources will be created in.servicePrincipal
: Required. Name of the service principal that will be created.yes
: Skips confirmation steps.Checklist