diff --git a/.github/auto-release.yml b/.github/auto-release.yml index b45efb7..17cd39c 100644 --- a/.github/auto-release.yml +++ b/.github/auto-release.yml @@ -17,7 +17,6 @@ version-resolver: - 'bugfix' - 'bug' - 'hotfix' - - 'no-release' default: 'minor' categories: diff --git a/.github/renovate.json b/.github/renovate.json index ae4f0aa..a780298 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -4,9 +4,9 @@ ":preserveSemverRanges" ], "labels": ["auto-update"], + "dependencyDashboardAutoclose": true, "enabledManagers": ["terraform"], "terraform": { "ignorePaths": ["**/context.tf", "examples/**"] } } - diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf new file mode 100644 index 0000000..fa5b7ea --- /dev/null +++ b/examples/complete/versions.tf @@ -0,0 +1,18 @@ +terraform { + required_version = ">= 0.13.0" + + required_providers { + aws = { + source = "hashicorp/aws" + version = ">= 2.0" + } + template = { + source = "hashicorp/template" + version = ">= 2.0" + } + null = { + source = "hashicorp/null" + version = ">= 2.0" + } + } +} diff --git a/main.tf b/main.tf index 427b95c..1f9e9fd 100644 --- a/main.tf +++ b/main.tf @@ -16,6 +16,10 @@ resource "aws_iam_user_login_profile" "default" { password_length = var.password_length password_reset_required = var.password_reset_required depends_on = [aws_iam_user.default] + + lifecycle { + ignore_changes = [password_reset_required] + } } resource "aws_iam_user_group_membership" "default" {