terraform-aws-ecs-cluster
terraform-aws-ecs-cluster copied to clipboard
Code analysis errors and warnings
I am using IntelliJ IDEA 2021.3 CE and when I try to commit changes I get warnings and errors.
- variables.tf line 58: Variable value type 'object' doesn't match default value type 'map(string)'
- asg.tf starting at line 33: Unresolved reference {name, lifecycle_transition,default_result,heartbeat_timeout,role_arn,notification_target_arn,notification_metadata}
I am not sure the best way to address this; it seems like a limitation of the code analysis and perhaps I should open a ticket against that code base. I can submit a PR with noinspection annotation if that is the appropriate action.
IntelliJ IDEA 2021.3 (Community Edition) Build #IC-213.5744.223, built on November 27, 2021 Runtime version: 11.0.13+7-b1751.19 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 12.1 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 16 Non-Bundled Plugins: org.intellij.plugins.hcl (0.7.14) io.binx.cfnlint.plugin (0.1.22) org.jetbrains.kotlin (213-1.6.10-release-923-IJ5744.223) co.jeshan.code.typeformation (0.2) io.codiga.plugins.jetbrains-plugin (1.1.10) AWSCloudFormation (213.5744.122)
Kotlin: 213-1.6.10-release-923-IJ5744.223
I offer a potential solution in PR #10.