This repo contains Terraform templates to deploy infrastructure on AWS and Azure and to secure them using the Palo Alto Networks Next Generation Firewalls
Apache License 2.0
147
stars
151
forks
source link
error in running the aws_modules_version/ (module.lambda.var.AddENILambda: variable AddENILambda in module lambda should be type string, got list) #30
when I run the terraform plan in the inner module (aws_modules_version/) it gives me the below error.
when I go and change the variable type to list.
the endpoint will not be created in a later stage as it should be a string and not list.
Error: Error running plan: 2 errors occurred:
module.sns.aws_sns_topic_subscription.LambdaENISNSTopicSubscription: endpoint must be a single value, not a list
## Describe the problem
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
Error: Error running plan: 2 errors occurred:
module.lambda.var.AddENILambda: variable AddENILambda in module lambda should be type string, got list
module.sns.var.AddENILambdaARN: variable AddENILambdaARN in module sns should be type string, got list
## Documentation link
when I run the terraform plan in the inner module (aws_modules_version/) it gives me the below error. when I go and change the variable type to list. the endpoint will not be created in a later stage as it should be a string and not list.
Error: Error running plan: 2 errors occurred:
## Describe the problem
Refreshing Terraform state in-memory prior to plan... The refreshed state will be used to calculate this plan, but will not be persisted to local or remote state storage.
Error: Error running plan: 2 errors occurred: