Skip to content

Conversation

@EvyBongers
Copy link
Contributor

No description provided.

@EvyBongers EvyBongers requested a review from a team as a code owner January 4, 2022 14:43
roles.tf Outdated

length = 48
special = false
special = var.password_special_chars
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible alternative to prevent changes when migrating resources:

Suggested change
special = var.password_special_chars
special = false
lifecycle {
ignore_changes = [special]
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I like the alternative more. Can always be tainted when a new password is needed after all.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would probably add the other "modifiers" as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason to add them? Other than being explicit about all of them

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That and a little bit of "better safe than sorry". Might save us some follow-up PRs adding one or more others down the road. Might slightly ease the migration routes. If it's worth it, no idea 😉

@EvyBongers EvyBongers changed the title Make use of special chars configurable Support migrated resources with different password requirements Jan 4, 2022
@EvyBongers EvyBongers merged commit 830691d into main Jan 4, 2022
@EvyBongers EvyBongers deleted the special-chars branch January 4, 2022 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants