Commit 4fcc502
committed
fix: correct AWS account ID format in EKS node configuration test
The volume_kms_key_arn in TestAccEKS_ResourceNodeConfiguration was using
an invalid 6-digit AWS account ID (012345), which fails API validation
that requires exactly 12 digits per the regex pattern:
^arn:aws:kms:[a-z0-9-]+:[0-9]{12}:...
Changed account ID from "012345" to "012345678901" to match AWS account
ID format requirements.
Fixes test failure:
Error: expected status code 200, received: status=400 body={"message":"bad request", "fieldViolations":[{"field":"volumeKmsKeyArn", "description":"value does not match regex pattern"}]}1 parent 7ac12a9 commit 4fcc502
File tree
2 files changed
+12
-6
lines changed- castai
- sdk
2 files changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments