Add aws-ec2-vault-cluster connections, IAM, and security groups - #3
Merged
Conversation
This is the Nullstone AWS module skeleton so a workspace can attach VPC, snapshot S3, and unseal KMS before ASG and NLB work.
BSick7
reviewed
Sep 3, 2026
BSick7
reviewed
Sep 3, 2026
BSick7
reviewed
Sep 3, 2026
BSick7
reviewed
Sep 3, 2026
BSick7
reviewed
Sep 3, 2026
BSick7
reviewed
Sep 3, 2026
BSick7
reviewed
Sep 3, 2026
BSick7
reviewed
Sep 3, 2026
BSick7
reviewed
Sep 3, 2026
BSick7
reviewed
Sep 3, 2026
BSick7
reviewed
Sep 3, 2026
BSick7
requested changes
Sep 3, 2026
BSick7
left a comment
Contributor
There was a problem hiding this comment.
Great start! I left some comments.
Can you also move this module under ./aws/aws-ec2-vault-cluster/ in the event we add a k8s implementation?
Move the module under aws/aws-ec2-vault-cluster so naming matches other Nullstone AWS modules, and apply the connection and variable comments.
Author
|
R1 applied in f0110b7. Same changes as the suggestions (module path/name, snapshots_bucket, odd cluster_size, cron backup_schedule, CHANGELOG). Resolving the review threads. |
BSick7
approved these changes
Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First slice of the Nullstone AWS module. A workspace can connect VPC, snapshot S3, and unseal KMS. IAM, Secrets Manager token slots, and node/NLB security groups are in. ASG, NLB, launch template, and user-data are not.
PR Summary
aws-ec2-vault-clusterunderaws/aws-ec2-vault-cluster/.network(network/aws/vpc)snapshots_bucket(datastore/aws/s3) for Raft snapshots undervault-snapshots/unseal_key(datastore/aws/kms), separate from optional bucket SSEec2:DescribeInstances, SSM.init,provisioning, andoperator(empty until bootstrap writes them).cluster_size(odd: 1, 3, 5, 7, ...),instance_type,backup_schedule(cron, empty disables). Unused until ASG exists.Follow-up on this branch: vault-utils health on 8210, user-data/AMI, NLB, then ASG.
How I validated
From
aws/aws-ec2-vault-cluster/:All three succeeded.
tofu planwas run without a Nullstone workspace or AWS credentials. It failed withno nullstone workspace 0/0/0and missing AWS credentials. That is expected. There is no live Nullstone preview against real connections yet.go testdoes not coveraws/.tofu applywas not run.R1 Note
Addressed review: module moved to
aws/aws-ec2-vault-cluster/, renamedaws-ec2-vault-cluster, connectionsnapshots_bucket, oddcluster_size, cronbackup_schedule, CHANGELOG cleared.tofu fmt/validatepassed.go test -short ./...and isolation tests passed.