Skip to content

Release 1.0.0-rc.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 May 09:43
· 377 commits to 5619291206cb8e8ed16cdeae5d7462c9b374c09e since this release

First release candidate for the upcoming MACH 1.0.0 release:

  • Add Sentry DSN management options
  • Add Amplience support
  • Add support for commercetools Store-specific variables and secrets on components: store_variables and store_secrets
  • Add support for multiple API endpoints:
    • base_url replaced with endpoints
    • has_public_api replaced with endpoint
    • Supports a default endpoint that doesnt require custom domain settings
  • Add option to override Terraform provider versions
  • Improved dependencies between components and MACH-managed commercetools configurations
  • Improved git log parsing
  • Add mach bootstrap commands:
    • mach bootstrap config for creating a new MACH configuration
    • mach bootstrap component for creating a new MACH component
  • Updated Terraform commercetools provider to 0.25.3
  • AWS: Set auto-deploy on API gateway stage
  • Azure: Add new required frontdoor_id Terraform variable for components with endpoint defined
  • Azure: Add --with-sp-login option to mach plan command
  • Azure: Add two extra tags to all resources: environment and site
  • Azure: Remove function app sync bash command: this is now the responsibility of the component

Breaking changes

  • base_url has been replaced by the endpoints settings:
    sites:
    - identifier: mach-site-eu
      base_url: https://api.eu-tst.mach-example.net
    becomes
    sites:
    - identifier: mach-site-eu
      endpoints: 
        main: https://api.eu-tst.mach-example.net
    When you name the endpoint that replaces base_url "main", it will have the least effect on your existing Terraform state.
  • The AWS route53_zone_name setting has been removed in favour of multiple endpoint support
  • The front_door configuration block has been renamed to frontdoor
  • The Azure frontdoor settings dns_zone and ssl_key_* settings have been removed;

    Certificates are now managed by Frontdoor and dns_zone is auto-detected.
  • The Terraform azurerm_dns_cname_record resources have been renamed; they now take the name of the associated endpoint key. For the smoothest transition, rename them in your Terraform state:
    terraform state mv azurerm_dns_cname_record.<project-key> azurerm_dns_cname_record.<endpoint-key>
  • The FRONTDOOR_ID value is removed from the var.variables of a component. Replaced with var.frontdoor_id
  • The deploy_role setting has been renamed to deploy_role_arn
  • Components with a commercetools integration require a new variable ct_stores:
    variable "ct_stores" {
      type = map(object({
        key       = string
        variables = map(string)
        secrets   = map(string)
      }))
      default = {}
    }
  • The folowing deprecated values in the var.variables are removed:
    var.variables["CT_PROJECT_KEY"]
    var.variables["CT_API_URL"]
    var.variables["CT_AUTH_URL"]
    See 0.5.0 release notes
  • The var.environment_variables won't be set by MACH anymore. Use var.variables for this