Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix resource.UniqueId to be properly ordered over multiple runs #15280

Merged
merged 1 commit into from
Jun 15, 2017

Commits on Jun 15, 2017

  1. Fix resource.UniqueId to be properly ordered over multiple runs

    The timestamp prefix added in hashicorp#8249 was removed in hashicorp#10152 to ensure that
    returned IDs really are properly ordered.  However, this meant that IDs were no
    longer ordered over multiple invocations of terraform, which was the main
    motivation for adding the timestamp in the first place.  This commit does a
    hybrid: timestamp-plus-incrementing-counter instead of just incrementing counter
    or timestamp-plus-random.
    glasser committed Jun 15, 2017
    Configuration menu
    Copy the full SHA
    0a1f915 View commit details
    Browse the repository at this point in the history