Hey team,
I think this should be a simple fix, and I am happy to help contribute it, but it seems like the CDKTF does not support Flink 1.18 for AWS Kinesis Analytics Application V2
I filed a bug here:
opened 03:23PM - 03 Apr 24 UTC
bug
new
### Expected Behavior
Should have updated the version of the Flink Application.… It is worth noting that the HCL supports FLINK-1_18.
### Actual Behavior
```
Error: expected runtime_environment to be one of ["SQL-1_0" "FLINK-1_6" "FLINK-1_8" "ZEPPELIN-FLINK-1_0" "FLINK-1_11" "FLINK-1_13" "ZEPPELIN-FLINK-2_0" "FLINK-1_15" "ZEPPELIN-FLINK-3_0"], got FLINK-1_18
with aws_kinesisanalyticsv2_application.staging-<redacted>-managed-flink-app
on cdk.tf.json line 222, in resource.aws_kinesisanalyticsv2_application.staging-<redacted>-managed-flink-app:
```
### Steps to Reproduce
1. Create CDKTF for a managed apache flink application
2. CDKTF Synth
3. Upload to Terraform Cloud
### Versions
language: typescript
cdktf-cli: 0.20.6
node: v18.16.1
cdktf: 0.20.6
constructs: 10.3.0
jsii: null
terraform: 1.5.2
arch: arm64
os: darwin 23.4.0
### Providers
┌───────────────┬──────────────────┬─────────┬────────────┬────────────────────────────┬─────────────────┐
│ Provider Name │ Provider Version │ CDKTF │ Constraint │ Package Name │ Package Version │
├───────────────┼──────────────────┼─────────┼────────────┼────────────────────────────┼─────────────────┤
│ aws │ 5.43.0 │ ^0.20.0 │ │ @cdktf/provider-aws │ 19.12.0 │
├───────────────┼──────────────────┼─────────┼────────────┼────────────────────────────┼─────────────────┤
│ helm │ 2.12.1 │ ^0.20.0 │ │ @cdktf/provider-helm │ 10.0.0 │
├───────────────┼──────────────────┼─────────┼────────────┼────────────────────────────┼─────────────────┤
│ kubernetes │ 2.27.0 │ ^0.20.0 │ │ @cdktf/provider-kubernetes │ 11.2.0 │
├───────────────┼──────────────────┼─────────┼────────────┼────────────────────────────┼─────────────────┤
│ tfe │ 0.53.0 │ ^0.20.0 │ │ @cdktf/provider-tfe │ 11.2.0 │
├───────────────┼──────────────────┼─────────┼────────────┼────────────────────────────┼─────────────────┤
│ tls │ 4.0.5 │ ^0.20.0 │ │ @cdktf/provider-tls │ 10.0.0 │
└───────────────┴──────────────────┴─────────┴────────────┴────────────────────────────┴─────────────────┘
providers
@cdktf/provider-aws (PREBUILT)
terraform provider version: 5.43.0
prebuilt provider version: 19.12.0
cdktf version: ^0.20.0
@cdktf/provider-helm (PREBUILT)
terraform provider version: 2.12.1
prebuilt provider version: 10.0.0
cdktf version: ^0.20.0
@cdktf/provider-kubernetes (PREBUILT)
terraform provider version: 2.27.0
prebuilt provider version: 11.2.0
cdktf version: ^0.20.0
@cdktf/provider-tfe (PREBUILT)
terraform provider version: 0.53.0
prebuilt provider version: 11.2.0
cdktf version: ^0.20.0
@cdktf/provider-tls (PREBUILT)
terraform provider version: 4.0.5
prebuilt provider version: 10.0.0
cdktf version: ^0.20.0
### Gist
_No response_
### Possible Solutions
_No response_
### Workarounds
_No response_
### Anything Else?
_No response_
### References
_No response_
### Help Wanted
- [ ] I'm interested in contributing a fix myself
### Community Note
- Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
How can we get this resolved so that we can proceed with an upgrade?
Thanks,