Skip to content

Commit aae8cca

Browse files
authored
chore: Add upgrade guide to capture changes and documentation for v5.0 changes (#766)
1 parent c3882d9 commit aae8cca

File tree

2 files changed

+93
-1
lines changed

2 files changed

+93
-1
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: detect-aws-credentials
1111
args: ['--allow-missing-credentials']
1212
- repo: https://github.com/antonbabenko/pre-commit-terraform
13-
rev: v1.73.0
13+
rev: v1.74.1
1414
hooks:
1515
- id: terraform_fmt
1616
- id: terraform_docs

UPGRADE-5.0.md

+92
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Upgrade from v4.x to v5.x
2+
3+
Please consult the `examples` directory for reference example configurations. If you find a bug, please open an issue with supporting configuration to reproduce.
4+
5+
#### ⚠️ This guide is under active development. As tasks for v5.0 are implemented, the associated upgrade guidance/changes are documented here. See [here](https://github.com/aws-ia/terraform-aws-eks-blueprints/milestone/1) to track progress of v5.0 implementation.
6+
7+
## List of backwards incompatible changes
8+
9+
-
10+
11+
## Additional changes
12+
13+
### Added
14+
15+
-
16+
17+
### Modified
18+
19+
-
20+
21+
### Removed
22+
23+
-
24+
25+
### Variable and output changes
26+
27+
1. Removed variables:
28+
29+
-
30+
31+
2. Renamed variables:
32+
33+
-
34+
35+
3. Added variables:
36+
37+
-
38+
39+
4. Removed outputs:
40+
41+
-
42+
43+
5. Renamed outputs:
44+
45+
-
46+
47+
6. Added outputs:
48+
49+
-
50+
51+
## Upgrade Migrations
52+
53+
### Before - v4.x Example
54+
55+
```hcl
56+
module "eks_blueprints" {
57+
source = "github.com/aws-ia/terraform-aws-eks-blueprints?ref=v4.4.0"
58+
59+
# TODO
60+
61+
}
62+
```
63+
64+
### After - v5.x Example
65+
66+
```hcl
67+
module "eks_blueprints" {
68+
source = "github.com/aws-ia/terraform-aws-eks-blueprints?ref=v5.0.0"
69+
70+
# TODO
71+
72+
}
73+
```
74+
75+
### Diff of Before vs After
76+
77+
```diff
78+
module "eks_blueprints" {
79+
- source = "github.com/aws-ia/terraform-aws-eks-blueprints?ref=v4.4.0"
80+
+ source = "github.com/aws-ia/terraform-aws-eks-blueprints?ref=v5.0.0"
81+
82+
# TODO
83+
}
84+
```
85+
86+
### State Move Commands
87+
88+
In conjunction with the changes above, users can elect to move their external capacity provider(s) under this module using the following move command. Command is shown using the values from the example shown above, please update to suit your configuration names:
89+
90+
```sh
91+
terraform state mv 'xxx' 'yyy'
92+
```

0 commit comments

Comments
 (0)