hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.75k stars 9.1k forks source link

`validate-terraform` errors: The "python3.6" runtime has reached the end of support #25857

Closed ewbankkit closed 2 years ago

ewbankkit commented 2 years ago

Community Note

https://github.com/hashicorp/terraform-provider-aws/runs/7390106039?check_suite_focus=true

ERROR: File "./website/docs/r/api_gateway_integration.html.markdown", block #2 (lines 60-134):
1 issue(s) found:
Warning: The "python3.6" runtime has reached the end of support (aws_lambda_function_deprecated_runtime)
  on /tmp/tmp.OlGasIlmrm/main.tf line 49:
  49:   runtime       = "python3.6"
Reference: https://github.com/terraform-linters/tflint-ruleset-aws/blob/v0.13.4/docs/rules/aws_lambda_function_deprecated_runtime.md
ERROR: File "./website/docs/r/lambda_permission.html.markdown", block #2 (lines 63-109):
1 issue(s) found:
Warning: The "python3.6" runtime has reached the end of support (aws_lambda_function_deprecated_runtime)
  on /tmp/tmp.uMlQvk[77](https://github.com/hashicorp/terraform-provider-aws/runs/7390106039?check_suite_focus=true#step:9:78)kX/main.tf line 24:
  24:   runtime       = "python3.6"
Reference: https://github.com/terraform-linters/tflint-ruleset-aws/blob/v0.13.4/docs/rules/aws_lambda_function_deprecated_runtime.md
ERROR: File "./website/docs/r/lambda_permission.html.markdown", block #4 (lines 133-180):
1 issue(s) found:
Warning: The "python3.6" runtime has reached the end of support (aws_lambda_function_deprecated_runtime)
  on /tmp/tmp.2CnwAZpPjY/main.tf line 25:
  25:   runtime       = "python3.6"
Reference: https://github.com/terraform-linters/tflint-ruleset-aws/blob/v0.13.4/docs/rules/aws_lambda_function_deprecated_runtime.md
ewbankkit commented 2 years ago

According to the AWS documentation python3.6 is not deprecated until Aug 17, 2022.

github-actions[bot] commented 2 years 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 have 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.