terraform_validate
terraform_validate copied to clipboard
Assists in the enforcement of user-defined standards in Terraform
Can we use this tool with GCP resources?
- As much as possible from a static scan standpoint, all variables are replaced. To do that, all modules are also resolved. - Instead of raising exceptions, all failures and...
If I have something like this in my .tf file then terraform_validate will error out: ``` resource "aws_iam_role_policy_attachment" "service-policy-attachment-default" { role = aws_iam_role.service-role-default.name policy_arn = aws_iam_policy.service-policy-default.arn } ``` If I...
Is there a plan to add support for Terraform Interpolations? ``` resource "aws_instance" "web" { ami = "some_ami" instance_type = "t2.micro" tags = "${merge(var.tags, map("Name", "${var.cluster_name}-eks_cluster_sg"))}" } ``` > ERROR:...
Enabling variable expansion when the default value of a property is a list will fail: ``` variable "list" { default = [] } resource ... { name = "${var.list}" }...
There is a way to find single resource using the name instead the type? If I want to test properties with different configuration in two resources of the same type,...
Noticed `pyhcl` had a minor bug fix for heredoc, so bumping the dependency up. Pretty minor, but keeps things latest. Colorama has also deprecated support for Python 3.3, which is...
If this is not intended to be python 3 compatible please let me know, I don't see it documented. Otherwise seeing this on pip install: ``` Traceback (most recent call...
It would be helpful if we can validate terraform code based on the input file/vars it uses. Example from ".tfvars" file. ### Example Code `main.tf` ``` resource "aws_security_group" "test" {...
Version 2.7.0 dependencies broken ``` terraform_validate.py", line 9, in import git ModuleNotFoundError: No module named 'git' ``` setup.py does not reference requirements.txt. https://github.com/elmundio87/terraform_validate/blob/master/setup.py#L13