Closed nanaones closed 2 years ago
The files to be applied are:
terraform {
required_version = "~> 1.0.0"
required_providers {
aws = {
"source" = "hashicorp/aws"
"version" = "~> 3.45.0"
}
}
}
@nanaones Thank you for reporting the issue.
I was able to reproduce it. I have identified that the cause is that the source
and version
are enclosed in double quotes.
It's not explicitly stated in the documentation, but the terraform cli looks accepting the quoted syntax too.
https://www.terraform.io/docs/language/providers/requirements.html
As a workaround, do not enclose source
and version
in double quotes.
< "source" = "hashicorp/aws"
< "version" = "~> 3.45.0"
---
> source = "hashicorp/aws"
> version = "~> 3.45.0"
@minamijoyo As you said, I checked that there were no errors after the change. Thank you for developing this tool.
@nanaones Thank you for confirmation. I fixed the bug in v0.6.2.
I am getting the following error: