Skip to content

Releases: EnterpriseDB/edb-terraform

v1.7.0

22 Feb 15:01
de0eee4
Compare
Choose a tag to compare

Release v1.7.0

BREAKING CHANGES:

  • Private networking as a default.
    • In order to secure endpoints and avoid unexpected exposure of resources, such as machines and biganimal, the default 0.0.0.0/0 is removed when configuring a service port or the allow list. Use one of the new cli options to dynamically open ports.
  • Python version minimum bumped to 3.8 to match cloud provider python requirements.

Improvements:

  • edb-terraform help option added to see a projects root project variables.
    • command: edb-terraform help --project-path <PATH>
  • Terraform root variables added to dynamically open connections when using terraform plan or terraform apply. Use a second terraform apply without the cli options to remove the rules.
    • service_cidrblocks
    • force_dynamic_ip
    • force_service_biganimal
    • force_service_machines
  • BigAnimal spec
    • allowed_machines accepts machine keynames to allow access to the cluster. By default it is a wildcard, ["*"], to allow all machines to connect.
  • edb-terraform setup now installs all tooling: awscli-v2, azure cli, gcloud cli, jq, and terraform.
    • Installed under $HOME/.edb-terraform/<TOOL>/<VERSION>/bin/<TOOL>
    • Command's output will contain stringified json with all installed tools and their paths to be able to setup PATH.
  •  Remote state can be configured when generating a project.
    • Default: local
    • Use cloud to get the current providers backend offering or override with any supported backend
    • terraform init -backend-config=<values> should be used to pass in the backend configuration
  • Provider versions set to a maximum to avoid unexpected errors from new releases including patch releases. Upon a new set of provider releases, a patch release will be prepared.
  • Composite actions available for use within Github Actions
  • Networking ports:
    • Define port rules under a single ports keyname instead of region_ports and service_ports.
      • Old options will map to defaults=internal and defaults=service for backwards compatability.
    • defaults option added to append a set of cidrblocks to a rule on top of predefined cidrblocks.
      • internal
      • public
      • service
      • "" - ignore (Default)

Fixes:

  • Use a temporary context for setuptools to avoid using old build artifacts left behind by its build process when installing from a local repo.
  • BigAnimal provider bumped to 0.7.1 which fixes unexpected plan changes.
  • edb-terraform cli environment variables will be used when an argument is required and the cli argument is not already configured.
  • terraform.tfvars.json can be updated directly and used with terraform apply to apply new changes.
    • Currently only works for preconfigured regions since edb-terraform generate templates in the regions due to Terraform/Provider limitations.

Releases README
Full Changelog: v1.6.2...v1.7.0

v1.6.2

03 Jan 19:37
Compare
Choose a tag to compare

Release v1.6.2

Experimental Features:

  • AWS/Azure/Gcloud BigAnimal Module support for separate wal storage through the API (Alessandro Ferraresi @alfer-edb and Bryan Barajas @bryan-bar)
  • AWS Machine module:
    • JBOD (Just a Bunch of Disks) volumes support for post-terraform management (Bryan Barajas @bryan-bar)
    • LVM support (Bryan Barajas @bryan-bar)

Improvements:

  • Use of toolbox provider instead of provisioners (Bryan Barajas @bryan-bar)
  • Support for additional Gcloud SQL editions (Mark Wong @mw2q)
  • AWS/Azure/GCloud machine module volume refactor (Bryan Barajas @bryan-bar)
  • AWS machine module Spot instance updates to reduce creation errors (Mark Wong @mw2q)

Fixes:

  • AWS/Azure/Gcloud BigAnimal module cloud_account default updated to true (Bryan Barajas @bryan-bar)
  • AWS VPC Peering tags updated (Bryan Barajas @bryan-bar)
  • Debian related updates (Mark Wong @mw2q)
  • terraform.tfstate file created sooner in-case project creation fails (Bryan Barajas @bryan-bar)

Full Changelog: v1.6.1...v1.6.2

v1.6.1

05 Sep 17:34
7d2e3ad
Compare
Choose a tag to compare

Release v1.6.1

Features:

  • AWS machine module: allow a filesystem mount option (Mark Wong @mw2q)
  • EDB-Terraform CLI: Allow creation and destruction of unneeded project resources while generating a replacement project (Bryan Barajas @bryan-bar)
  • AWS machine module: support requesting persistent spot instances (Mark Wong @mw2q)
  • GCP BigAnimal Module support (Bryan Barajas @bryan-bar)

Improvements:

  • AWS RDS module: Add instance id output (Rachel DiMaggio @RDiMag)
  • AWS machine module: refactor file system handling (Mark Wong @mw2q)
  • AWS/Azure/GCP BigAnimal module: allow for biganimal hosted resources instead of bring-your-own-cloud account (Bryan Barajas @bryan-bar)

Dependency changes:

  • Terraform CLI support bumped to v1.5.5 (Bryan Barajas @bryan-bar)

Fixes:

  • GCP machine module: Handle keyname restrictions so underscore and uppercase value can be used (Bryan Barajas @bryan-bar)
  • AWS/Azure/GCP Biganimal module: retention updated to 1 day (Bryan Barajas @bryan-bar)
  • Root module: root output handling for any module output type (Bryan Barajas @bryan-bar)

Full Changelog: v1.6.0...v1.6.1

v1.6.0

24 Jul 00:40
4fe07fd
Compare
Choose a tag to compare

Release v1.6.0

Improvements:

  • AWS - ec2, rds, and aurora module output's updated to surface resource_id and cluster_id (Rachel DiMaggio @RDiMag)

Dependency Changes:

  • GCloud - alloydb module updated to use general availability provider (Bryan Barajas @bryan-bar)

CLI fixes:

  • Leading slashes stripped from project name (Bryan Barajas @bryan-bar)
  • Deprecated command fixes (Bryan Barajas @bryan-bar)

Module Fixes:

  • AWS biganimal module - azure references removed (Bryan Barajas @bryan-bar)
  • AWS/Azure biganimal module - cluster_name tag updated to use defaults if not provided (Bryan Barajas @bryan-bar)
  • GCloud machine module - ssh key path available within operating system output (Bryan Barajas @bryan-bar)

Full Changelog: v1.5.0...v1.6.0

v1.5.1

04 Jul 12:45
Compare
Choose a tag to compare

Release v1.5.1

Fixes:

  • BigAnimal modules : aws - modules referenced wrong provider azure, instead of aws
  • BigAnimal modules : aws/azure - cluster_name references local, instead of variable, since it may be omitted in configuration files.

v1.5.0

27 Jun 05:02
8547be8
Compare
Choose a tag to compare

Release v1.5.0

Improvements:

  • CLI/Terraform-modules: user-templates saved and rendered if in the projects template directory (Bryan Barajas @bryan-bar)
    • inventory.yml.tftpl default template available, which makes use of tags to create a valid inventory file for use with edb-ansible
  • CLI: original infrastructure file saved with edb-terraform version appended (Bryan Barajas @bryan-bar)
  • CLI: HCL lock file can be copied to project to lock provider versions (Bryan Barajas @bryan-bar)
  • Additional README svg examples (Bryan Barajas @bryan-bar)

Fixes:

  • AWS: security module fails due to empty string (Bryan Barajas @bryan-bar)
  • GCloud: tag outputs updated to match AWS/Azure with labels clearly passed through (Bryan Barajas @bryan-bar)
  • CLI: stdin arguments standardized to dashes (Bryan Barajas @bryan-bar)
  • Azure: Allow port ranges and per machines rules, to mimic AWS and security groups for the user (Bryan Barajas @bryan-bar)
  • GCloud: Allow port ranges and per machines rules, to mimic AWS and security groups for the user (Bryan Barajas @bryan-bar)

Full Changelog: v1.4.2...v1.5.0

v1.4.2

22 Jun 01:59
675470a
Compare
Choose a tag to compare

Release v1.4.2

Fix: release version

Full Changelog: v1.4.1...v1.4.2

v1.3.1

22 Jun 02:04
98e40a8
Compare
Choose a tag to compare

Release v1.3.1

Fix: release version

Full Changelog: v1.3.0...v1.3.1

v1.4.1

26 May 00:43
afeca82
Compare
Choose a tag to compare

Release v1.4.1

Fixes:

  • type check causing error in <= python3.8 (Bryan Barajas @bryan-bar)

Full Changelog: v1.4.0...v1.4.1

v1.4.0

25 May 18:29
3040a23
Compare
Choose a tag to compare

Release v1.4.0

Features:

  • BigAnimal provider implemented in a module and setup alongside machines (Bryan Barajas @bryan-bar)
  • Allow user-supplied templates for generation/cleanup during the terraform lifecycle (Bryan Barajas @bryan-bar)

Improvements:

  • CLI separated into generate(default) and setup options (Bryan Barajas @bryan-bar)
  • Gcloud machine dependencies updated to allow added machines without existing instances being re-created (Bryan Barajas @bryan-bar)

Fixes:

  • resource tags updated across all providers (Bryan Barajas @bryan-bar)

Full Changelog: v1.3.0...v1.4.0