Commit 97fb6b2
authored
Ignore TransitEncryptionEnabled in modify when unchanged (#171)
If the `TransitEncryptionEnabled` value is unchanged, but added to a ModifyReplicationGroup call, the ElastiCache API will return an errorMessage saying:
> Modification of transit encryption is not supported for access control
> enabled clusters.
This is "fixed" by not setting it, or setting it to nil.
Fixes aws-controllers-k8s/community#2536
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.1 parent 6a403f8 commit 97fb6b2
File tree
3 files changed
+11
-5
lines changed- apis/v1alpha1
- pkg/resource/replication_group
- templates/hooks/replication_group
3 files changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | | - | |
| 60 | + | |
0 commit comments