Skip to content

v1.9.0

Latest
Compare
Choose a tag to compare
@pulumi-bot pulumi-bot released this 18 Nov 15:26
· 7 commits to master since this release
6f526ba
Add configuration for controlling the autonaming behavior (#1831)

This PR adds some new functionality to control the auto naming behavior.
The new behavior lives behind a provider config variable and must be
explicitly enabled by the user. The existing behavior will remain the
default behavior of the provider.

**What's new**

- `autoTrim`: When this is set to true the provider will automatically
  trim the generated name to fit within the `maxLength` requirement.
- `randomSuffixMinLength`: Set this to control the minimum length of the
  random suffix that is generated. This is especially useful in
  combination with `autoTrim` to ensure that you still end up with
  unique names (e.g. a random suffix of 1 character is not very unique)

closes https://github.com/pulumi/pulumi-aws-native/issues/1816, re
https://github.com/pulumi/pulumi-cdk/issues/62