Repository navigation
·
2 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
What's Changed
This release updates ScubaConnect deployments to utilize modules. It will no longer be required to clone the repo or manually copy files on new releases.
While it requires a number of steps to upgrade to this release, future release updates will be significantly easier.
Additional changes include:
- feat: Remove need to clone repo by using git as terraform module by @jacdavi in #47
- feat: bump terraform and image dependencies by @jacdavi in #50
- feat: add host id and image version to container logs and ScubaResults by @jacdavi in #51
- fix(ci): correct issue where docker image on PR couldn't be scanned b… by @jacdavi in #46
- docs: add AGENTS/CLAUDE readmes from ScubaGear by @jacdavi in #49
- fix: continue release without signing if variables aren't configured by @jacdavi in #48
Full Changelog: v3.0.0...v4.0.0
Upgrading
While you can upgrade following the method in previous releases (downloading and copying the new code), the below instructions will update your instance to be inline with a fresh install.
Future upgrades will be as simple as incrementing the source version and running terraform (barring any breaking changes)
GWS
- Remove
required_providerssection fromproviders.tf
a. Replace project inprovider.tfwith the project value invariables.tfvars - Update
main.tf
a. Set source to"github.com/cisagov/ScubaConnect.git//gws/terraform?ref=v4.0.0"
b. Replace remaining block insidemain.tfwith contents ofvariables.tfvars
c. If using the tenants directory for config files, addtenants_dir_path = "./tenants"
d. Deletevariables.tfandvariables.tfvars
e. Rename the module fromscuba_runnertoscuba_connect - Replace
outputs.tf -> oauth_scopes -> valuewithmodule.scuba_connect.oauth_scopes. Replace other instances ofmodule.scuba_runnerwithmodule.scuba_connect - Run
terraform init -upgradethenterraform apply
M365
- Remove
required_providerssection fromproviders.tf - Update source in
main.tfto"github.com/cisagov/ScubaConnect.git//m365/terraform?ref=v4.0.0" - Copy the contents of
variables.tfvarsand replace the contents of the module block inmain.tf - Delete
variables.tfand `variables.tfvars