You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This module relies heavily on count to determine which resources should be created. So if you just run
$ terraform apply -var region=us-west-2
which works when using a hard-coded ARN or a data source, you'll get those errors:
The "count" value depends on resource attributes that cannot be determined
until apply, so Terraform cannot predict how many instances will be created.
To work around this, use the -target argument to first apply only the
resources that the count depends on.
Like described in the error message, just add an intermediate terraform command:
Hello,
Thanks for this useful component.
I would like to request an example of https://github.com/spring-media/terraform-aws-lambda/tree/master/examples/example-with-sqs-event involving the creation of the required SQS queue instead of hard-coding the ARN on it.
The text was updated successfully, but these errors were encountered: