Skip to content

No argument or block type is named "values". #510

@Zshader

Description

@Zshader

❔ Question

How to fix this issue?
Tried using terraform's latest versions as well as previous versions(0.11.x) as recommended in ->
Install fails: "Execution encountered error" - No argument or block type is named "values". #464

but its still failing, while using terraform 0.11.x versions the the script is failing at "init" phase and while using newer versions of terraform 0.12+ facing this issue.

[root@ip installer]# sudo python3 manager.py install

###########################################################################################################################
####################################### ____ ____ ######################################
####################################### |/||| PacBot |/||| ######################################
####################################### . || . Infra setup and deployment . || . ######################################
####################################### || || ######################################
###########################################################################################################################

Step 1: Checking if required tools are availables
Tool: Maven, checking ................................................................ [Found]
Tool: Git, checking .................................................................. [Found]
Tool: MySQL client, checking ......................................................... [Found]
Tool: Terraform, checking ............................................................ [Found]
Tool: Nodejs, checking ............................................................... [Found]
Tool: npm, checking .................................................................. [Found]
Tool: Angular, checking .............................................................. [Found]
Tool: Yarn, checking ................................................................. [Found]
Tool: Docker, checking ............................................................... [Found]
Required tools are available!!!

Step 2: Checking if required python packages are available
Package: docker, Module: Client, checking ............................................ [Found]
Module: boto3, checking .............................................................. [Found]
Required python packages are available!!!

Step 3: Reading required inputs from user

Select AWS authentication mechanism:

1. Using access key and secret key

2. Assuming an IAM role

3. Using IAM role attached to the this instance

Type 1 or 2 or 3 to continue to create services in AWS: 1
Required inputs are available!!!

Step 4: Checking settings and inputs
Checking VPC and CIDR Blocks ......................................................... [Valid]
Checking VPC subnets ................................................................. [Valid]
Administrator access policy .......................................................... [Present]

Step 5: Checking resource existence
Resource existence check completed!!!

Step 6: Terraform file generation started
Terraform file generation completed!!!

Step 7: Terraform init started
Terraform init executed successfully!!!
Completed in 0m 4s

Step 8: Terraform plan started
Execution encountered error
Completed in 0m 2s
Error occured, please check error log for more details
[root@ installer]# cd log/error.log
bash: cd: log/error.log: Not a directory
[root@ installer]# tail -20log/error.log
tail: option used in invalid context -- 2
[root@ installer]# tail -20 log/error.log
No argument or block type is named "values".

Error: Extraneous JSON object property

on pacbot_app_alb_listener_rules_StatisticsALBListenerRule.tf.json line 11, in resource.aws_lb_listener_rule.pacbot_app_alb_listener_rules_StatisticsALBListenerRule.condition:
11: "field": "path-pattern",

No argument or block type is named "field".

Error: Extraneous JSON object property

on pacbot_app_alb_listener_rules_StatisticsALBListenerRule.tf.json line 12, in resource.aws_lb_listener_rule.pacbot_app_alb_listener_rules_StatisticsALBListenerRule.condition:
12: "values": [

No argument or block type is named "values".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions