Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws_db_subnet_group.this: value of 'count' cannot be computed #88

Closed
sunilkumarmohanty opened this issue Nov 9, 2018 · 3 comments
Closed

Comments

@sunilkumarmohanty
Copy link

Hi,

I created a VPC and database_subnet using
"terraform-aws-modules/vpc/aws" module.

Then, when I pass database_subnet_group to "terraform-aws-modules/rds/aws" module, I get the error as

aws_db_subnet_group.this: value of 'count' cannot be computed

But, if I create the VPC first and then create the RDS, there is no issue.

@jvelasquezjs
Copy link
Contributor

Hi @sunilkumarmohanty I am having the same problem. This issue is due to terraform not being able to know computed values in the count meta-parameter. This has been an issue for a long time. I will try to raise a PR for this issue and see how it goes.

@jvelasquezjs
Copy link
Contributor

Same as #107

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants