Skip to content

v4.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Oct 23:00
· 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

  1. Remove required_providers section from providers.tf
    a. Replace project in provider.tf with the project value in variables.tfvars
  2. Update main.tf
    a. Set source to "github.com/cisagov/ScubaConnect.git//gws/terraform?ref=v4.0.0"
    b. Replace remaining block inside main.tf with contents of variables.tfvars
    c. If using the tenants directory for config files, addtenants_dir_path = "./tenants"
    d. Delete variables.tf and variables.tfvars
    e. Rename the module from scuba_runner to scuba_connect
  3. Replace outputs.tf -> oauth_scopes -> value with module.scuba_connect.oauth_scopes. Replace other instances of module.scuba_runner with module.scuba_connect
  4. Run terraform init -upgrade then terraform apply

M365

  1. Remove required_providers section from providers.tf
  2. Update source in main.tf to "github.com/cisagov/ScubaConnect.git//m365/terraform?ref=v4.0.0"
  3. Copy the contents of variables.tfvars and replace the contents of the module block in main.tf
  4. Delete variables.tf and `variables.tfvars