Skip to content

Commit 343506e

Browse files
fix: ignores password_reset_required change to support changes in AWS provider 4.x (#24)
Co-authored-by: cloudpossebot <11232728+cloudpossebot@users.noreply.github.com>
1 parent 40dbe1a commit 343506e

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

.github/auto-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ version-resolver:
1717
- 'bugfix'
1818
- 'bug'
1919
- 'hotfix'
20-
- 'no-release'
2120
default: 'minor'
2221

2322
categories:

.github/renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
":preserveSemverRanges"
55
],
66
"labels": ["auto-update"],
7+
"dependencyDashboardAutoclose": true,
78
"enabledManagers": ["terraform"],
89
"terraform": {
910
"ignorePaths": ["**/context.tf", "examples/**"]
1011
}
1112
}
12-

examples/complete/versions.tf

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
terraform {
2+
required_version = ">= 0.13.0"
3+
4+
required_providers {
5+
aws = {
6+
source = "hashicorp/aws"
7+
version = ">= 2.0"
8+
}
9+
template = {
10+
source = "hashicorp/template"
11+
version = ">= 2.0"
12+
}
13+
null = {
14+
source = "hashicorp/null"
15+
version = ">= 2.0"
16+
}
17+
}
18+
}

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ resource "aws_iam_user_login_profile" "default" {
1616
password_length = var.password_length
1717
password_reset_required = var.password_reset_required
1818
depends_on = [aws_iam_user.default]
19+
20+
lifecycle {
21+
ignore_changes = [password_reset_required]
22+
}
1923
}
2024

2125
resource "aws_iam_user_group_membership" "default" {

0 commit comments

Comments
 (0)