Ben Drucker

Results 208 comments of Ben Drucker

Some other references: https://code.visualstudio.com/updates/v1_99#_vs-code-extension-tools-in-agent-mode > Any tool contributed to this API which sets toolReferenceName and canBeReferencedInPrompt in its configuration is automatically available in agent mode. https://github.com/microsoft/vscode/issues/245129 https://github.com/microsoft/vscode/issues/231927 While that language...

Yes, agree that singularizing is good for the env var, since you need to parse the list out of a string regardless. For the config file, having a structured serialized...

What does conftest do for its config files? Its docs show: ```toml # You can override the directory in which to store and look for policies policy = "tests" ```...

Seems like the answer is that it uses Viper which handles coercing a single string into `[]string`. HCL2 won't do that so you'd need to use an intermediate dynamic type....

> As a result, TFLint reports missing required_providers entries The output is a parsing error, not a report of a missing entry. At the moment TFLint supports Terraform syntax/structure and...

Is this documented anywhere? https://developer.hashicorp.com/terraform/language/syntax/json > At the root of any JSON-based Terraform configuration is a JSON object. Since `import` blocks are unlabeled, you can't have a `imports` be a...

https://developer.hashicorp.com/terraform/language/syntax/json#module-blocks The structure is essentially the same for all labeled blocks: ```json { "module": { "vpc": { "source": "terraform-aws-modules/vpc/aws", "name": "test-vpc", "cidr": "10.0.0.0/16" }, "security_group": { "source": "terraform-aws-modules/security-group/aws", "name": "test-sg",...

https://github.com/terraform-linters/tflint-plugin-sdk/pull/422 will make this syntax supported, while https://github.com/terraform-linters/tflint-ruleset-terraform/pull/297 will make it trigger a warning by default and recommend the object syntax. But you can always suppress that whereas currently the...