Closed snstanton closed 3 years ago
Thank you for opening an issue. In this template paragraph text could be removed, however please retain headers.
Help->About->Copy to Clipboard
Settings->Plugins
terraform -v
data "aws_iam_policy" "mypolicy" { name = "mypolicy" }
This is legal syntax for the data object aws_iam_policy.
It is flagged as missing a required "arn" argument. Only one of "name" or "arn" is required.
Load the above file into a .tf editor window and notice the data block is flagged.
Fixed in 0.7.11
Thank you for opening an issue. In this template paragraph text could be removed, however please retain headers.
Prerequisites
Installation details
Help->About->Copy to Clipboard
)PyCharm 2021.1.2 (Professional Edition) Build #PY-211.7442.45, built on June 1, 2021
Settings->Plugins
)0.7.10
terraform -v
) Terraform v1.0.0 on darwin_amd64Terraform Configuration Files
Exception
Expected Behavior
This is legal syntax for the data object aws_iam_policy.
Actual Behavior
It is flagged as missing a required "arn" argument. Only one of "name" or "arn" is required.
Steps to Reproduce
Load the above file into a .tf editor window and notice the data block is flagged.