Skip to content

Commit 6bd295c

Browse files
committed
feat: Update upgrade guide with diagram mapping old to new modules
1 parent 9d7deb3 commit 6bd295c

File tree

1 file changed

+39
-5
lines changed

1 file changed

+39
-5
lines changed

docs/UPGRADE-6.0.md

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,48 @@ If you find a bug, please open an issue with supporting configuration to reprodu
99
- `iam-assumable-role` has been renamed to `iam-role`
1010
- `iam-assumable-role-with-oidc` has been merged into `iam-role`
1111
- `iam-assumable-role-with-saml` has been merged into `iam-role`
12-
- `iam-assumable-roles` has been removed; `iam-role` should be used instead. See the [`iam-role` example](https://github.com/terraform-aws-modules/terraform-aws-iam/tree/master/examples/iam-role) that shows an example replacement implementation.
13-
- `iam-assumable-roles-with-saml` has been removed; `iam-role` should be used instead. See the [`iam-role` example](https://github.com/terraform-aws-modules/terraform-aws-iam/tree/master/examples/iam-role-saml) that shows an example replacement implementation.
12+
- `iam-assumable-roles` has been removed; `iam-role` should be used instead
13+
- `iam-assumable-roles-with-saml` has been removed; `iam-role` should be used instead
1414
- `iam-github-oidc-provider` has been renamed to `iam-oidc-provider`
15-
- `iam-github-oidc-role` has been merged into `iam-role`. See the [`iam-oidc-provider` example](https://github.com/terraform-aws-modules/terraform-aws-iam/tree/master/examples/iam-oidc-provider)
16-
- `iam-group-with-assumable-roles-policy` has been removed; the renamed `iam-group` (was `iam-group-with-policies`) should be used instead
17-
- `iam-eks-role` has been removed; `iam-role-for-service-accounts` should be used instead
15+
- `iam-github-oidc-role` has been merged into `iam-role`
16+
- `iam-group-with-policies` has been renamed to `iam-group`
17+
- `iam-group-with-assumable-roles-policy` has been merged into `iam-group`
18+
- `iam-eks-role` has been removed; `iam-role-for-service-accounts` or [`eks-pod-identity`](https://github.com/terraform-aws-modules/terraform-aws-eks-pod-identity) should be used instead
1819
- `iam-policy` has been removed; the `aws_iam_policy` resource should be used directly instead
1920

21+
```mermaid
22+
stateDiagram
23+
direction LR
24+
25+
# Old
26+
assumeRole: iam-assumable-role
27+
assumeRoleOIDC: iam-assumable-role-with-oidc
28+
assumeRoleSAML: iam-assumable-role-with-saml
29+
assumeRoles: iam-assumable-roles
30+
assumeRolesSAML: iam-assumable-roles-with-saml
31+
githubOIDCProvider: iam-github-oidc-provider
32+
githubOIDCRole: iam-github-oidc-role
33+
groupWithAssumablePolicy: iam-group-with-assumable-roles-policy
34+
groupWithPolicies: iam-group-with-policies
35+
36+
# New
37+
group: iam-group
38+
oidcProvider: iam-oidc-provider
39+
role: iam-role
40+
41+
assumeRole --> role
42+
assumeRoleOIDC --> role
43+
assumeRoleSAML --> role
44+
assumeRoles --> role
45+
assumeRolesSAML --> role
46+
githubOIDCRole --> role
47+
48+
groupWithAssumablePolicy --> group
49+
groupWithPolicies --> group
50+
51+
githubOIDCProvider --> oidcProvider
52+
```
53+
2054
## Additional changes
2155

2256
### Modified

0 commit comments

Comments
 (0)