hashicorp / terraform-cdk

Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform
https://www.terraform.io/cdktf
Mozilla Public License 2.0
4.79k stars 443 forks source link

CDKTF for aws_kinesisanalyticsv2_application does not support FLINK-1_18 #3581

Closed jalilalchy closed 3 months ago

jalilalchy commented 3 months ago

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

Community Note

jalilalchy commented 3 months ago

@DanielMSchmidt would you have any advice on how contribute a fix?

jalilalchy commented 3 months ago

Appears resolved from the latest release.

github-actions[bot] commented 2 months ago

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.