Skip to content

v0.35.1

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Jul 15:06
· 40 commits to main since this release
995f0ea
add instance refresh preferences @scott-doyland-burrows (#115)

what

Adds skip_matching and auto_rollback to the instance refresh preferences.

Allows the instance refresh preferences to be optional. If the values are not set in the calling module, then the default values are used as per:

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group#instance_refresh

why

Previously it was not possible to set the skip_matching and auto_rollback.

It was also not possible to omit preferences from the calling module and just use the defaults instead.

With this change we can now set preferences and/or omit preferences that we wish to use the defaults for.

The change should not cause any diffs in current infrastructure.

references

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group#instance_refresh

examples

It is now possible to use something such as this to use defaults:

  instance_refresh = ({
    strategy = "Rolling"
  })

or this to override certain defaults:

  instance_refresh = ({
    strategy = "Rolling"
    preferences = ({
      min_healthy_percentage = 50
      skip_matching          = true
    })
    triggers = ["tags"]
  })

🤖 Automatic Updates

Update README.md and docs @cloudpossebot (#119)

what

This is an auto-generated PR that updates the README.md and docs

why

To have most recent changes of README.md and doc from origin templates