
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
BB-8 helps you store your Terraform environments securely, managing the encryption of sensitive files into a git repository, and the encryption keys are shared with other team members using Voltos.
Install the gem:
$ gem install bb8
Also, you'll want to have Terraform and Voltos installed, plus have Voltos authenticated on your machine.
BB-8 manages your infrastructure plans within a single git repository, which has separate folders for each environment (e.g. production, staging, etc). To get going, run the init command with a directory for the git repository (or use .
for the current directory)
$ bb8 init servers
Then move into your project's directory (i.e. cd servers
). You'll want to add an origin
remote to your git repository where all of this infrastructure configuration will live.
$ git remote add origin git://...
The next step is to set up an environment:
$ bb8 environment staging my-servers-staging
The arguments are the name of the environment (in this case, staging
), and the name of a bundle of Voltos settings. BB-8 will create the latter for you, if you've not already done so.
From this point on, you'll want to issue Terraform commands through BB-8 and a specified environment:
$ bb8 staging apply
$ bb8 staging show
$ bb8 staging destroy
The Terraform configuration is expected along the following lines:
common.tf
in the root of the project. This is automatically copied to each environment directory.terraform.tfvars
should live in their appropriate environment folders.Calling a Terraform command via BB-8 goes through this workflow every time:
The unencrypted versions of the state and variable files are not added to the git repository, thus your secrets remain secret to anyone without access to each environment's Voltos bundle.
To allow others to work on your infrastructure, they'll need access to both the git repository, and the appropriate Voltos bundles.
Bug reports and pull requests are welcome on GitHub at https://github.com/pat/bb8. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
Copyright (c) 2016, BB-8 is developed and maintained by Pat Allan, and is released under the open MIT Licence.
FAQs
Unknown package
We found that bb8 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.