-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add support for AWS account onboarding without CloudFormation #128
Conversation
if len(mappings) != 1 { | ||
return uuid.Nil, errors.New("expected account mappings for a single account") | ||
} | ||
if msg := mappings[0].Message; msg == "" || !strings.Contains(msg, "RBK30300003") { |
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.
nit: Both the retry count (7) and the explicit error RBK30300003
could be commented to add some more context to the reader.
pkg/polaris/aws/aws.go
Outdated
@@ -39,6 +40,10 @@ import ( | |||
"github.com/rubrikinc/rubrik-polaris-sdk-for-go/pkg/polaris/log" | |||
) | |||
|
|||
const ( | |||
requestTimeout = 5 * time.Second |
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.
nit: maybe a comment about the background to choosing 5s
* Add support for AWS account onboarding without CloudFormation (#128) * Support relative paths for the credentials file (#130) * Support reading credentials from current environment (#132) * Add support for bootstrapping Rubrik clusters (#127) * Improve error messages (#133) * Check if vars exist when reading credentials from env (#134) * Change ID type from uuid.UUID to string (#129) * Add support for AWS shared exocompute (#136) * Add support for AWS private container registry (#137) * Add support for AWS cloud archival location (#138) * Add aws exocompute update (#140) (#143) * Update aws exocompute config fields (#144) * Do not populate non-existing aws exo config subnets (#145) * Add support for reading PCR (#146) * Add support for permission groups to AWS features (#147) * Add support for reading deployment IP addresses (#148) * Add missing private container registry comments (#142) * Cleanup now removes all AWS features (#149) * Fix shared exocompute (#150) * Fix AWS account list functionality (#151) * Add support for BYOK clusters (#152) * Fix feature permission group updates (#154) * Fix BYOK connect cluster query (#155) * Update AWS PCR documentation (#156) * Add support for BYOK8s cluster disconnect (#157) * Update dependencies and bump compiler version (#159)
No description provided.